[BACKPORT] add What's this to Help menu (implement #4179)

This commit is contained in:
Alexander Bruy 2011-11-12 17:04:45 +02:00
parent 821b0ea560
commit ce8c75ff6c

View File

@ -1091,6 +1091,10 @@ void QgisApp::createMenus()
// don't add it yet, wait for a plugin
mDatabaseMenu = new QMenu( tr( "&Database" ) );
// Help menu
// add What's this button to it
QAction* before = mActionHelpAPI;
mHelpMenu->insertAction( before, QWhatsThis::createAction() );
}
void QgisApp::createToolBars()