summaryrefslogtreecommitdiffstats
path: root/pokemodr/models/CoinListObjectModel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pokemodr/models/CoinListObjectModel.cpp')
-rw-r--r--pokemodr/models/CoinListObjectModel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/pokemodr/models/CoinListObjectModel.cpp b/pokemodr/models/CoinListObjectModel.cpp
index dab9b091..ffce721e 100644
--- a/pokemodr/models/CoinListObjectModel.cpp
+++ b/pokemodr/models/CoinListObjectModel.cpp
@@ -56,7 +56,7 @@ QVariant CoinListObjectModel::data(int role) const
if (species)
return species->name();
}
- return "UNSET";
+ return "";
}
else if (role == BaseModel::XmlRole)
{
@@ -69,7 +69,7 @@ QVariant CoinListObjectModel::data(int role) const
QWidget* widget = new CoinListObjectUI(static_cast<CoinListObject*>(m_object), NULL);
return QVariant::fromValue(widget);
}
- return QVariant();
+ return ObjectModel::data(role);
}
bool CoinListObjectModel::setData(const QVariant& value, int role)