Skip to content

Commit

Permalink
[BACKPORT] add What's this to Help menu (implement #4179)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Nov 12, 2011
1 parent 5678d14 commit 5289b1a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/qgisapp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1058,6 +1058,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()
Expand Down

0 comments on commit 5289b1a

Please sign in to comment.