Skip to content

Commit ce8c75f

Browse files
committed
[BACKPORT] add What's this to Help menu (implement #4179)
1 parent 821b0ea commit ce8c75f

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
@@ -1091,6 +1091,10 @@ void QgisApp::createMenus()
10911091
// don't add it yet, wait for a plugin
10921092
mDatabaseMenu = new QMenu( tr( "&Database" ) );
10931093

1094+
// Help menu
1095+
// add What's this button to it
1096+
QAction* before = mActionHelpAPI;
1097+
mHelpMenu->insertAction( before, QWhatsThis::createAction() );
10941098
}
10951099

10961100
void QgisApp::createToolBars()

0 commit comments

Comments
 (0)