Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
code style fix (astyle)
- Loading branch information
Showing
with
4 additions
and
4 deletions.
-
+4
−4
src/gui/raster/qgssinglebandpseudocolorrendererwidget.cpp
|
@@ -201,7 +201,7 @@ void QgsSingleBandPseudoColorRendererWidget::autoLabel() |
|
|
|
|
|
if ( discrete ) |
|
|
{ |
|
|
if ( i == 0) |
|
|
if ( i == 0 ) |
|
|
{ |
|
|
label = "< " + myCurrentItem->text( 0 ) + unit; |
|
|
} |
|
@@ -241,7 +241,7 @@ void QgsSingleBandPseudoColorRendererWidget::setUnitFromLabels() |
|
|
|
|
|
if ( discrete ) |
|
|
{ |
|
|
if ( i == 0) |
|
|
if ( i == 0 ) |
|
|
{ |
|
|
label = "< " + myCurrentItem->text( 0 ); |
|
|
} |
|
@@ -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 ) |
|
@@ -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(); |
|
|
} |
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.