forked from qt-creator/qt-creator
Fixes: - ICommand --> Command
Details: - Naming convention
This commit is contained in:
@@ -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"));
|
||||
|
||||
Reference in New Issue
Block a user