summaryrefslogtreecommitdiffstats
path: root/pokemodr/models/CoinListModel.cpp
diff options
context:
space:
mode:
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)