Skip to content

Commit 5289b1a

Browse files
committed
[BACKPORT] add What's this to Help menu (implement #4179)
1 parent 5678d14 commit 5289b1a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/app/qgisapp.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1058,6 +1058,10 @@ void QgisApp::createMenus()
10581058
// don't add it yet, wait for a plugin
10591059
mDatabaseMenu = new QMenu( tr( "&Database" ) );
10601060

1061+
// Help menu
1062+
// add What's this button to it
1063+
QAction* before = mActionHelpAPI;
1064+
mHelpMenu->insertAction( before, QWhatsThis::createAction() );
10611065
}
10621066

10631067
void QgisApp::createToolBars()

0 commit comments

Comments
 (0)