Skip to content
Permalink
Browse files
Don't force size based legend symbols to black colors
  • Loading branch information
nyalldawson committed May 30, 2015
1 parent cf7303f commit edc880e58891c5d11bae1166e45cd8e05c942088
Showing with 0 additions and 2 deletions.
  1. +0 −1 src/core/symbology-ng/qgscategorizedsymbolrendererv2.cpp
  2. +0 −1 src/core/symbology-ng/qgsgraduatedsymbolrendererv2.cpp
@@ -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;

0 comments on commit edc880e

Please sign in to comment.