Skip to content
Permalink
Browse files

Fix invalid QString arg warning

  • Loading branch information
nyalldawson committed Sep 21, 2016
1 parent 2a2bf2c commit f62a0bfbd6bd748dcb39ba9cd943ef1cf72bee9e
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/gui/qgscolorbutton.cpp
@@ -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 );

0 comments on commit f62a0bf

Please sign in to comment.