Skip to content

Commit

Permalink
Fix building on GNU/Linux (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
9Morello authored and RobertBColton committed Sep 9, 2018
1 parent e70348a commit 139b207
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions MainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#include <QtWidgets>

#include <functional>
#include <unordered_map>

#undef GetMessage

Expand Down
2 changes: 1 addition & 1 deletion Models/SpriteModel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ bool SpriteModel::insertRows(int position, int rows, const QModelIndex& /*parent
}

for (int i = 0; i < rows; ++i) {
protobuf->Add("");
protobuf->Add();
}

for (int i = position; i < images.size(); ++i) {
Expand Down
2 changes: 2 additions & 0 deletions Models/TreeModel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

#include "Components/ArtManager.h"

#include <unordered_map>

TreeModel::TreeModel(buffers::TreeNode *root, QObject *parent) : QAbstractItemModel(parent), root(root) {
SetupParents(root);
}
Expand Down

0 comments on commit 139b207

Please sign in to comment.