diff options
Diffstat (limited to 'src/plugins/helloworld/helloworldplugin.cpp')
-rw-r--r-- | src/plugins/helloworld/helloworldplugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/helloworld/helloworldplugin.cpp b/src/plugins/helloworld/helloworldplugin.cpp index 31c1ced51a..08a56f2b43 100644 --- a/src/plugins/helloworld/helloworldplugin.cpp +++ b/src/plugins/helloworld/helloworldplugin.cpp @@ -92,12 +92,12 @@ bool HelloWorldPlugin::initialize(const QStringList &arguments, QString *error_m // Register the action with the action manager Core::ActionManager *actionManager = core->actionManager(); - Core::ICommand *command = + Core::Command *command = actionManager->registerAction( helloWorldAction, "HelloWorld.HelloWorldAction", context); // Create our own menu to place in the Tools menu - Core::IActionContainer *helloWorldMenu = + Core::ActionContainer *helloWorldMenu = actionManager->createMenu("HelloWorld.HelloWorldMenu"); QMenu *menu = helloWorldMenu->menu(); menu->setTitle(tr("&Hello World")); |