Skip to content
Permalink
Browse files

also decode Qt colors

  • Loading branch information
jef-n committed Apr 3, 2013
1 parent 597bc78 commit bb9f1f0347a87c6577ab72df460839a00943aa02
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/symbology-ng/qgssymbollayerv2utils.cpp
@@ -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();

0 comments on commit bb9f1f0

Please sign in to comment.
You can’t perform that action at this time.