diff options
Diffstat (limited to 'kmymoney2/plugins/kmymoneyplugin.cpp')
-rw-r--r-- | kmymoney2/plugins/kmymoneyplugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kmymoney2/plugins/kmymoneyplugin.cpp b/kmymoney2/plugins/kmymoneyplugin.cpp index 18430ab..8f0c51a 100644 --- a/kmymoney2/plugins/kmymoneyplugin.cpp +++ b/kmymoney2/plugins/kmymoneyplugin.cpp @@ -47,7 +47,7 @@ KMyMoneyPlugin::Plugin::~Plugin() TDEAction* KMyMoneyPlugin::Plugin::action(const TQString& actionName) const { static TDEShortcut shortcut(""); - static TDEAction dummyAction(TQString("Dummy"), TQString(), shortcut, static_cast<const TQObject*>(this), 0, static_cast<TDEActionCollection*>(0), ""); + static TDEAction dummyAction(TQString("Dummy"), TQString(), shortcut, this, 0, static_cast<TDEActionCollection*>(0), ""); TDEAction* p = actionCollection()->action(actionName.latin1()); if(p) @@ -60,7 +60,7 @@ TDEAction* KMyMoneyPlugin::Plugin::action(const TQString& actionName) const TDEToggleAction* KMyMoneyPlugin::Plugin::toggleAction(const TQString& actionName) const { static TDEShortcut shortcut(""); - static TDEToggleAction dummyAction(TQString("Dummy"), TQString(), shortcut, static_cast<const TQObject*>(this), 0, static_cast<TDEActionCollection*>(0), ""); + static TDEToggleAction dummyAction(TQString("Dummy"), TQString(), shortcut, this, 0, static_cast<TDEActionCollection*>(0), ""); TDEAction* q = actionCollection()->action(actionName.latin1()); |