Skip to content

Commit 1a495d0

Browse files
committed
Fix invalid QString arg warning
(cherry-picked from f62a0bf)
1 parent 3005241 commit 1a495d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/gui/qgscolorbuttonv2.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,9 @@ bool QgsColorButtonV2::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( QgsSymbolLayerV2Utils::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)