Skip to content

Commit

Permalink
Fix invalid QString arg warning
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Sep 21, 2016
1 parent 2a2bf2c commit f62a0bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/qgscolorbutton.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,9 @@ bool QgsColorButton::event( QEvent *e )
int saturation = this->color().saturation();
QString info = QString( "HEX: %1 \n"
"RGB: %2 \n"
"HSV: %3,%4,%4" ).arg( name )
"HSV: %3,%4,%5" ).arg( name )
.arg( QgsSymbolLayerUtils::encodeColor( this->color() ) )
.arg( hue ).arg( value ).arg( saturation );
.arg( hue ).arg( saturation ).arg( value );
setToolTip( info );
}
return QToolButton::event( e );
Expand Down

0 comments on commit f62a0bf

Please sign in to comment.