Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Fix invalid QString arg warning
- Loading branch information
Showing
with
2 additions
and
2 deletions.
-
+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 ); |
|
|