Skip to content

Commit f62a0bf

Browse files
committedSep 21, 2016
Fix invalid QString arg warning
1 parent 2a2bf2c commit f62a0bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/gui/qgscolorbutton.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,9 @@ bool QgsColorButton::event( QEvent *e )
171171
int saturation = this->color().saturation();
172172
QString info = QString( "HEX: %1 \n"
173173
"RGB: %2 \n"
174-
"HSV: %3,%4,%4" ).arg( name )
174+
"HSV: %3,%4,%5" ).arg( name )
175175
.arg( QgsSymbolLayerUtils::encodeColor( this->color() ) )
176-
.arg( hue ).arg( value ).arg( saturation );
176+
.arg( hue ).arg( saturation ).arg( value );
177177
setToolTip( info );
178178
}
179179
return QToolButton::event( e );

0 commit comments

Comments
 (0)
Please sign in to comment.