aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRenato Araujo Oliveira Filho <renato.filho@canonical.com>2013-01-14 21:22:16 -0300
committerRenato Araujo Oliveira Filho <renato.filho@canonical.com>2013-01-14 21:22:16 -0300
commitf177b479beb74c1277adad12268a29cc1fae03cc (patch)
treea079656ced2a31e463e42bc5c833092f37aea3ab
parentaa7a0559e93b510ba3bd15b700569feca204d4af (diff)
downloadqmenumodel-f177b479beb74c1277adad12268a29cc1fae03cc.tar.gz
qmenumodel-f177b479beb74c1277adad12268a29cc1fae03cc.tar.bz2
qmenumodel-f177b479beb74c1277adad12268a29cc1fae03cc.zip
Fixed "invokeMethod" call to use only the method name instead of full signature.
-rw-r--r--libqmenumodel/src/menunode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libqmenumodel/src/menunode.cpp b/libqmenumodel/src/menunode.cpp
index 69b0169..ed9a984 100644
--- a/libqmenumodel/src/menunode.cpp
+++ b/libqmenumodel/src/menunode.cpp
@@ -244,7 +244,7 @@ void MenuNode::onItemsChanged(GMenuModel *model, gint position, gint removed, gi
const QMetaObject *mobj = self->m_listener->metaObject();
if (!mobj->invokeMethod(self->m_listener,
- "onItemsChanged(MenuNode*, int, int, int)",
+ "onItemsChanged",
Q_ARG(MenuNode*, self),
Q_ARG(int, position),
Q_ARG(int, removed),