Changed: Removed unnecessary help menu entry.
--HG-- branch : gsoc2011-translationovqt
This commit is contained in:
parent
cd14244cca
commit
35bd31a2db
1 changed files with 1 additions and 10 deletions
|
@ -65,16 +65,7 @@ bool TranslationManagerPlugin::initialize(ExtensionSystem::IPluginManager *plugi
|
|||
|
||||
void TranslationManagerPlugin::extensionsInitialized()
|
||||
{
|
||||
Core::ICore *core = Core::ICore::instance();
|
||||
Core::MenuManager *menuManager = core->menuManager();
|
||||
//menuManager = _plugMan->getObject<Core::IMenuManager>();
|
||||
// Menu Actions for plugin
|
||||
QAction *aboutTManPlugin = new QAction("Translation Manager", this);
|
||||
// Locations
|
||||
QMenu *helpMenu = menuManager->menu(Core::Constants::M_HELP);
|
||||
QAction *aboutQtAction = menuManager->action(Core::Constants::ABOUT_QT);
|
||||
helpMenu->addSeparator();
|
||||
helpMenu->insertAction(aboutQtAction, aboutTManPlugin);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue