Skip to content
Permalink
Browse files

Fix crash in raster transparency widget on close

mPixelSelectorTool is owned by canvas, which may be deleted
before the QgsRasterTransparencyWidget on QGIS exit
  • Loading branch information
nyalldawson committed Oct 5, 2016
1 parent 1e0e9c2 commit 3e1536f1da20097eb68a57a34d65bdae45fb1568
Showing with 0 additions and 4 deletions.
  1. +0 −4 src/gui/raster/qgsrastertransparencywidget.cpp
@@ -64,10 +64,6 @@ QgsRasterTransparencyWidget::QgsRasterTransparencyWidget( QgsRasterLayer *layer,

QgsRasterTransparencyWidget::~QgsRasterTransparencyWidget()
{
if ( mPixelSelectorTool )
{
delete mPixelSelectorTool;
}
}

void QgsRasterTransparencyWidget::syncToLayer()

0 comments on commit 3e1536f

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