Skip to content
Permalink
Browse files

indentation fix

  • Loading branch information
signedav committed Apr 10, 2018
1 parent 7018cb0 commit 254ceae91a9ecfcdaf2128637de574cc9882ed5f
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/core/qgsconditionalstyle.cpp
@@ -293,13 +293,13 @@ bool QgsConditionalStyle::readXml( const QDomNode &node, const QgsReadWriteConte
setRule( styleElm.attribute( QStringLiteral( "rule" ) ) );
setName( styleElm.attribute( QStringLiteral( "name" ) ) );
QColor bColor = QColor( styleElm.attribute( QStringLiteral( "background_color" ) ) );
if( styleElm.hasAttribute( "background_color_alpha" ) )
if ( styleElm.hasAttribute( "background_color_alpha" ) )
{
bColor.setAlpha( styleElm.attribute( QStringLiteral( "background_color_alpha" ) ).toInt() );
}
setBackgroundColor( bColor );
QColor tColor = QColor( styleElm.attribute( QStringLiteral( "text_color" ) ) );
if( styleElm.hasAttribute( "text_color_alpha" ) )
if ( styleElm.hasAttribute( "text_color_alpha" ) )
{
tColor.setAlpha( styleElm.attribute( QStringLiteral( "text_color_alpha" ) ).toInt() );
}

0 comments on commit 254ceae

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