diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2009-02-24 21:07:11 -0500 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2009-02-24 21:07:11 -0500 |
| commit | 5747fe1b2f1b0f1677056dd3f4d36b2910d80630 (patch) | |
| tree | 8f3899aecf76ad59e23ef2ef6e2d21c82aef8142 /sigmodr/widgets/MoveUI.cpp | |
| parent | ff2b57f4a557f8e3896f002e554d76f327fa1ac1 (diff) | |
Renamed Sigmod to Game where needed
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); |
