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

(cherry-picked from 3e1536f)
  • Loading branch information
nyalldawson committed Oct 6, 2016
1 parent d71523d commit 7c4aa1261b33d06b375184e69aef5c09b93f7a81
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 7c4aa12

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