Skip to content
Permalink
Browse files

Fix QMenu leak in 3d map canvas dock

  • Loading branch information
nyalldawson committed Nov 6, 2020
1 parent 4812f46 commit 60eaaa7994692318a7689f75669fd32d107c514e
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/3d/qgs3dmapcanvasdockwidget.cpp
@@ -108,7 +108,7 @@ Qgs3DMapCanvasDockWidget::Qgs3DMapCanvasDockWidget( QWidget *parent )
toolBar->addSeparator();

// Map Theme Menu
mMapThemeMenu = new QMenu();
mMapThemeMenu = new QMenu( this );
connect( mMapThemeMenu, &QMenu::aboutToShow, this, &Qgs3DMapCanvasDockWidget::mapThemeMenuAboutToShow );
connect( QgsProject::instance()->mapThemeCollection(), &QgsMapThemeCollection::mapThemeRenamed, this, &Qgs3DMapCanvasDockWidget::currentMapThemeRenamed );

0 comments on commit 60eaaa7

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