diff options
-rw-r--r-- | sigmodr/tree/TreeModel.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sigmodr/tree/TreeModel.cpp b/sigmodr/tree/TreeModel.cpp index 4ccd47f5..c55cced5 100644 --- a/sigmodr/tree/TreeModel.cpp +++ b/sigmodr/tree/TreeModel.cpp @@ -21,6 +21,7 @@ // Sigmodr tree includes #include "RootTreeItem.h" +using namespace Sigmod; using namespace Sigmodr::Tree; TreeModel::TreeModel(QObject* parent) : @@ -150,7 +151,7 @@ Qt::DropActions TreeModel::supportedDropActions() const return Qt::CopyAction | Qt::MoveAction; } -void TreeModel::addGame(Sigmod::Game* game) +void TreeModel::addGame(Game* game) { beginInsertRows(index(-1, -1, QModelIndex()), m_root->childCount(), m_root->childCount()); m_root->addGame(game); |