diff options
Diffstat (limited to 'sigmodr/widgets/MoveUI.cpp')
| -rw-r--r-- | sigmodr/widgets/MoveUI.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sigmodr/widgets/MoveUI.cpp b/sigmodr/widgets/MoveUI.cpp index 64140aa0..f47ac965 100644 --- a/sigmodr/widgets/MoveUI.cpp +++ b/sigmodr/widgets/MoveUI.cpp @@ -19,8 +19,8 @@ #include "MoveUI.h" // Sigmod includes +#include <sigmod/Game.h> #include <sigmod/Move.h> -#include <sigmod/Sigmod.h> #include <sigmod/Type.h> Sigmodr::Widgets::MoveUI::MoveUI(Sigmod::Move* move, QWidget* parent) : @@ -38,9 +38,9 @@ void Sigmodr::Widgets::MoveUI::refreshGui() { const bool blocked = varType->blockSignals(true); varType->clear(); - for (int i = 0; i < sigmod()->typeCount(); ++i) + for (int i = 0; i < game()->typeCount(); ++i) { - const Sigmod::Type* type = sigmod()->type(i); + const Sigmod::Type* type = game()->type(i); varType->addItem(type->name(), type->id()); } varType->blockSignals(blocked); |
