File tree 1 file changed +6
-3
lines changed
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -1246,13 +1246,16 @@ void QgisApp::createMenus()
1246
1246
1247
1247
// Database Menu
1248
1248
// don't add it yet, wait for a plugin
1249
- mDatabaseMenu = new QMenu ( tr ( " &Database" ), this );
1249
+ mDatabaseMenu = new QMenu ( tr ( " &Database" ), menuBar () );
1250
+ mDatabaseMenu ->setObjectName ( " mDatabaseMenu" );
1250
1251
// Vector Menu
1251
1252
// don't add it yet, wait for a plugin
1252
- mVectorMenu = new QMenu ( tr ( " Vect&or" ), this );
1253
+ mVectorMenu = new QMenu ( tr ( " Vect&or" ), menuBar () );
1254
+ mVectorMenu ->setObjectName ( " mVectorMenu" );
1253
1255
// Web Menu
1254
1256
// don't add it yet, wait for a plugin
1255
- mWebMenu = new QMenu ( tr ( " &Web" ), this );
1257
+ mWebMenu = new QMenu ( tr ( " &Web" ), menuBar () );
1258
+ mWebMenu ->setObjectName ( " mWebMenu" );
1256
1259
1257
1260
// Help menu
1258
1261
// add What's this button to it
You can’t perform that action at this time.
0 commit comments