summaryrefslogtreecommitdiffstats
path: root/pokemodr/models/CoinListModel.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2008-05-09 22:10:24 +0000
committerBen Boeckel <MathStuf@gmail.com>2008-05-09 22:10:24 +0000
commit3d877ca28bcb7c70945ff408bd0273e176472969 (patch)
treeb7789493be9b11856ea9068ddcf514d22a0ec56b /pokemodr/models/CoinListModel.cpp
parent32a23089b9e2dfe59b3e70be814d8eee9ed9fb61 (diff)
downloadsigen-3d877ca28bcb7c70945ff408bd0273e176472969.tar.gz
sigen-3d877ca28bcb7c70945ff408bd0273e176472969.tar.xz
sigen-3d877ca28bcb7c70945ff408bd0273e176472969.zip
[FIX] More test code for the tree bug
[FIX] Rules now a pointer in Pokemod git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@123 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemodr/models/CoinListModel.cpp')
-rw-r--r--pokemodr/models/CoinListModel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/pokemodr/models/CoinListModel.cpp b/pokemodr/models/CoinListModel.cpp
index b49a7956..59bb5b4b 100644
--- a/pokemodr/models/CoinListModel.cpp
+++ b/pokemodr/models/CoinListModel.cpp
@@ -62,7 +62,7 @@ QVariant CoinListModel::data(int role) const
int CoinListModel::rowCount() const
{
- return 0;
+ return m_objects.size();
}
bool CoinListModel::setData(const QVariant& value, int role)