mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
Fix leak in QgsLegendSymbolItemV2
This commit is contained in:
parent
3621beec24
commit
7901ce2681
@ -57,7 +57,7 @@ QgsLegendSymbolItemV2& QgsLegendSymbolItemV2::operator=( const QgsLegendSymbolIt
|
||||
if ( this == &other )
|
||||
return *this;
|
||||
|
||||
setSymbol( other.mSymbol ? other.mSymbol->clone() : 0 );
|
||||
setSymbol( other.mSymbol );
|
||||
mLabel = other.mLabel;
|
||||
mKey = other.mKey;
|
||||
mCheckable = other.mCheckable;
|
||||
|
Loading…
x
Reference in New Issue
Block a user