mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
Fix segfault for unitilialized mAssistantPreviewSymbol
This commit is contained in:
parent
eca795f98e
commit
9a435adeda
@ -1769,9 +1769,9 @@ QgsSvgMarkerSymbolLayerWidget::QgsSvgMarkerSymbolLayerWidget( const QgsVectorLay
|
||||
connect( spinOffsetY, SIGNAL( valueChanged( double ) ), this, SLOT( setOffset() ) );
|
||||
connect( this, SIGNAL( changed() ), this, SLOT( updateAssistantSymbol() ) );
|
||||
|
||||
#if 0
|
||||
//make a temporary symbol for the size assistant preview
|
||||
mAssistantPreviewSymbol = new QgsMarkerSymbol();
|
||||
#if 0
|
||||
if ( vectorLayer() )
|
||||
mSizeDDBtn->setAssistant( tr( "Size Assistant..." ), new QgsSizeScaleWidget( vectorLayer(), mAssistantPreviewSymbol ) );
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user