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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/pokemodr/models/CoinListObjectModel.cpp b/pokemodr/models/CoinListObjectModel.cpp
index b1f76cd1..0ccf1fa6 100644
--- a/pokemodr/models/CoinListObjectModel.cpp
+++ b/pokemodr/models/CoinListObjectModel.cpp
@@ -80,7 +80,7 @@ QVariant Pokemodr::CoinListObjectModel::data(int role) const
{
KMenu* menu = new KMenu;
menu->addAction("&Delete Object", this, SLOT(deleteSelf()));
- return QVariant::fromValue(static_cast<void*>(menu));
+ return QVariant::fromValue(menu);
}
return Pokemodr::ObjectModel::data(role);
}