Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix another leak
  • Loading branch information
nyalldawson committed Dec 11, 2020
1 parent eec7c53 commit b412189
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgsextentwidget.cpp
Expand Up @@ -42,7 +42,7 @@ QgsExtentWidget::QgsExtentWidget( QWidget *parent, WidgetStyle style )
connect( mCondensedLineEdit, &QgsFilterLineEdit::cleared, this, &QgsExtentWidget::clear );
connect( mCondensedLineEdit, &QLineEdit::textEdited, this, &QgsExtentWidget::setOutputExtentFromCondensedLineEdit );

mLayerMenu = new QMenu( tr( "Calculate from Layer" ) );
mLayerMenu = new QMenu( tr( "Calculate from Layer" ), this );
mButtonCalcFromLayer->setMenu( mLayerMenu );
connect( mLayerMenu, &QMenu::aboutToShow, this, &QgsExtentWidget::layerMenuAboutToShow );
mMapLayerModel = new QgsMapLayerModel( this );
Expand Down

0 comments on commit b412189

Please sign in to comment.