mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-01 00:46:20 -05:00
Don't force size based legend symbols to black colors
This commit is contained in:
parent
cf7303fcf1
commit
edc880e588
@ -753,7 +753,6 @@ QgsLegendSymbolListV2 QgsCategorizedSymbolRendererV2::legendSymbolItemsV2() cons
|
||||
{
|
||||
QgsLegendSymbolItemV2 si( mSourceSymbol.data(), QString::number( v ), "" );
|
||||
QgsMarkerSymbolV2 * s = static_cast<QgsMarkerSymbolV2 *>( si.symbol() );
|
||||
s->setColor( QColor( 0, 0, 0 ) );
|
||||
s->setDataDefinedSize( QgsDataDefined() );
|
||||
s->setSize( exp.size( v ) );
|
||||
lst << si;
|
||||
|
@ -1208,7 +1208,6 @@ QgsLegendSymbolListV2 QgsGraduatedSymbolRendererV2::legendSymbolItemsV2() const
|
||||
{
|
||||
QgsLegendSymbolItemV2 si( mSourceSymbol.data(), QString::number( v ), "" );
|
||||
QgsMarkerSymbolV2 * s = static_cast<QgsMarkerSymbolV2 *>( si.symbol() );
|
||||
s->setColor( QColor( 0, 0, 0 ) );
|
||||
s->setDataDefinedSize( QgsDataDefined() );
|
||||
s->setSize( exp.size( v ) );
|
||||
list << si;
|
||||
|
Loading…
x
Reference in New Issue
Block a user