Skip to content

Commit

Permalink
code style fix (astyle)
Browse files Browse the repository at this point in the history
  • Loading branch information
pierstitus authored and nyalldawson committed Jun 2, 2016
1 parent 47676d4 commit f27507d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/gui/raster/qgssinglebandpseudocolorrendererwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ void QgsSingleBandPseudoColorRendererWidget::autoLabel()

if ( discrete )
{
if ( i == 0)
if ( i == 0 )
{
label = "< " + myCurrentItem->text( 0 ) + unit;
}
Expand Down Expand Up @@ -241,7 +241,7 @@ void QgsSingleBandPseudoColorRendererWidget::setUnitFromLabels()

if ( discrete )
{
if ( i == 0)
if ( i == 0 )
{
label = "< " + myCurrentItem->text( 0 );
}
Expand All @@ -265,7 +265,7 @@ void QgsSingleBandPseudoColorRendererWidget::setUnitFromLabels()
suffixes.removeDuplicates();
int max = 0;
QString unit;
for( int i = 0; i < suffixes.count(); ++i )
for ( int i = 0; i < suffixes.count(); ++i )
{
int n = allSuffixes.count( suffixes[i] );
if ( n > max )
Expand All @@ -277,7 +277,7 @@ void QgsSingleBandPseudoColorRendererWidget::setUnitFromLabels()
// Set this suffix as unit if at least used twice
if ( max >= 2 )
{
mUnitLineEdit->setText(unit);
mUnitLineEdit->setText( unit );
}
autoLabel();
}
Expand Down

0 comments on commit f27507d

Please sign in to comment.