Skip to content

Commit

Permalink
Fixed changing of marker color in marker line symbol layer.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@14809 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Nov 30, 2010
1 parent d2e7cf0 commit c1cbb0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/symbology-ng/qgslinesymbollayerv2.cpp
Expand Up @@ -248,7 +248,7 @@ QString QgsMarkerLineSymbolLayerV2::layerType() const
return "MarkerLine";
}

void QgsMarkerLineSymbolLayerV2::setColor( QColor color )
void QgsMarkerLineSymbolLayerV2::setColor( const QColor& color )
{
mMarker->setColor( color );
mColor = color;
Expand Down
2 changes: 1 addition & 1 deletion src/core/symbology-ng/qgslinesymbollayerv2.h
Expand Up @@ -109,7 +109,7 @@ class CORE_EXPORT QgsMarkerLineSymbolLayerV2 : public QgsLineSymbolLayerV2

QgsSymbolLayerV2* clone() const;

void setColor( QColor color );
void setColor( const QColor& color );

QgsSymbolV2* subSymbol();
bool setSubSymbol( QgsSymbolV2* symbol );
Expand Down

0 comments on commit c1cbb0b

Please sign in to comment.