Skip to content
Permalink
Browse files

Provide a parent for a couple of toolbar button menus

  • Loading branch information
nirvn committed Jun 28, 2020
1 parent 9b8e983 commit 94bea56956f1fd08a81ee932a1d9a11b782c5aac
@@ -206,7 +206,7 @@ QgsNetworkLoggerPanelWidget::QgsNetworkLoggerPanelWidget( QgsNetworkLogger *logg
} );


QMenu *settingsMenu = new QMenu();
QMenu *settingsMenu = new QMenu( this );
QToolButton *settingsButton = new QToolButton();
settingsButton->setAutoRaise( true );
settingsButton->setToolTip( tr( "Settings" ) );
@@ -421,7 +421,7 @@ QgsIdentifyResultsDialog::QgsIdentifyResultsDialog( QgsMapCanvas *canvas, QWidge

initSelectionModes();

QMenu *settingsMenu = new QMenu();
QMenu *settingsMenu = new QMenu( this );
QToolButton *settingsButton = new QToolButton();
settingsButton->setAutoRaise( true );
settingsButton->setToolTip( tr( "Identify Settings" ) );

0 comments on commit 94bea56

Please sign in to comment.
You can’t perform that action at this time.