diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2009-02-25 01:19:46 -0500 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2009-02-25 01:19:46 -0500 |
| commit | 8dddfc1ef55773cdf878e413d82142781a6e444b (patch) | |
| tree | 1fbd160be276c0cc89aa11971d2daab4ecc1791c /sigmodr/tree/CoinListItemModel.cpp | |
| parent | 0d38afceb6fe92f1a315c527635522dc6e0346cb (diff) | |
| download | sigen-8dddfc1ef55773cdf878e413d82142781a6e444b.tar.gz sigen-8dddfc1ef55773cdf878e413d82142781a6e444b.tar.xz sigen-8dddfc1ef55773cdf878e413d82142781a6e444b.zip | |
Renamed from Sigmod to Game in sigmodr tree
Diffstat (limited to 'sigmodr/tree/CoinListItemModel.cpp')
| -rw-r--r-- | sigmodr/tree/CoinListItemModel.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sigmodr/tree/CoinListItemModel.cpp b/sigmodr/tree/CoinListItemModel.cpp index 962209c7..7f26aff5 100644 --- a/sigmodr/tree/CoinListItemModel.cpp +++ b/sigmodr/tree/CoinListItemModel.cpp @@ -28,7 +28,7 @@ #include <sigmod/CoinList.h> #include <sigmod/CoinListItem.h> #include <sigmod/Item.h> -#include <sigmod/Sigmod.h> +#include <sigmod/Game.h> #include <sigmod/Species.h> // KDE includes @@ -46,13 +46,13 @@ QVariant Sigmodr::Tree::CoinListItemModel::data(int role) const Sigmod::CoinListItem* item = qobject_cast<Sigmod::CoinListItem*>(m_object); if (item->type() == Sigmod::CoinListItem::Item) { - const Sigmod::Item* _item = m_object->sigmod()->itemById(item->object()); + const Sigmod::Item* _item = m_object->game()->itemById(item->object()); if (_item) return _item->name(); } else if (item->type() == Sigmod::CoinListItem::Species) { - const Sigmod::Species* species = m_object->sigmod()->speciesById(item->object()); + const Sigmod::Species* species = m_object->game()->speciesById(item->object()); if (species) return species->name(); } |
