From 15ad8b9bc075e3d0f7167267ed495a82d4c1a5a8 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Fri, 4 Jul 2008 18:47:38 +0000 Subject: [FIX] KMenu* can now be put into a QVariant [FIX] ScriptWidget now uses a more explicit choice (real name rather than internal name) [FIX] KateView shortcuts dont collide (but don't work either) [FIX] Hat and Matrix no longer inlined all the time [FIX] Building out of source now works git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@223 6ecfd1a5-f3ed-3746-8530-beee90d26b22 --- pokemodr/models/CoinListObjectModel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pokemodr/models/CoinListObjectModel.cpp') 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(menu)); + return QVariant::fromValue(menu); } return Pokemodr::ObjectModel::data(role); } -- cgit