Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
also decode Qt colors
  • Loading branch information
jef-n committed Apr 3, 2013
1 parent 597bc78 commit bb9f1f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/symbology-ng/qgssymbollayerv2utils.cpp
Expand Up @@ -47,7 +47,7 @@ QColor QgsSymbolLayerV2Utils::decodeColor( QString str )
QStringList lst = str.split( "," );
if ( lst.count() < 3 )
{
return QColor();
return QColor( str );
}
int red, green, blue, alpha;
red = lst[0].toInt();
Expand Down

0 comments on commit bb9f1f0

Please sign in to comment.