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/StoreUI.cpp | |
| parent | ff2b57f4a557f8e3896f002e554d76f327fa1ac1 (diff) | |
| download | sigen-5747fe1b2f1b0f1677056dd3f4d36b2910d80630.tar.gz sigen-5747fe1b2f1b0f1677056dd3f4d36b2910d80630.tar.xz sigen-5747fe1b2f1b0f1677056dd3f4d36b2910d80630.zip | |
Renamed Sigmod to Game where needed
Diffstat (limited to 'sigmodr/widgets/StoreUI.cpp')
| -rw-r--r-- | sigmodr/widgets/StoreUI.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sigmodr/widgets/StoreUI.cpp b/sigmodr/widgets/StoreUI.cpp index f03a3b03..e06efd19 100644 --- a/sigmodr/widgets/StoreUI.cpp +++ b/sigmodr/widgets/StoreUI.cpp @@ -19,8 +19,8 @@ #include "StoreUI.h" // Sigmod includes +#include <sigmod/Game.h> #include <sigmod/Item.h> -#include <sigmod/Sigmod.h> #include <sigmod/Store.h> // KDE includes @@ -56,9 +56,9 @@ void Sigmodr::Widgets::StoreUI::refreshGui() const bool blockedItems = ui_items->blockSignals(true); ui_items->availableListWidget()->clear(); ui_items->selectedListWidget()->clear(); - for (int i = 0; i < sigmod()->itemCount(); ++i) + for (int i = 0; i < game()->itemCount(); ++i) { - const Sigmod::Item* item = sigmod()->item(i); + const Sigmod::Item* item = game()->item(i); QListWidgetItem* widgetItem = new QListWidgetItem(item->name(), ui_items->availableListWidget()); widgetItem->setData(Qt::UserRole, item->id()); } |
