Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
indentation fix
  • Loading branch information
signedav committed Apr 12, 2018
1 parent 5c94f89 commit 93a4dcb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/qgsconditionalstyle.cpp
Expand Up @@ -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() );
}
Expand Down

0 comments on commit 93a4dcb

Please sign in to comment.