Skip to content

Commit

Permalink
Fix invalid QString arg warning
Browse files Browse the repository at this point in the history
(cherry-picked from f62a0bf)
  • Loading branch information
nyalldawson committed Sep 26, 2016
1 parent 09ffbe7 commit 4026560
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/qgscolorbuttonv2.cpp
Expand Up @@ -183,9 +183,9 @@ bool QgsColorButtonV2::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( QgsSymbolLayerV2Utils::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 4026560

Please sign in to comment.