Skip to content

Commit

Permalink
Fixed: type complains on Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
Mezomish committed Apr 25, 2012
1 parent f8f26ea commit 74c2dee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/colorpicker/ColorFormatDlg.cpp
Expand Up @@ -15,7 +15,7 @@ ColorFormatDlg::ColorFormatDlg( JuffPlugin* plugin, const QColor& color, QWidget


_ui.btnHtml->setText( color.name() ); _ui.btnHtml->setText( color.name() );
_ui.btnHex->setText( color.name().replace("#", "0x") ); _ui.btnHex->setText( color.name().replace("#", "0x") );
_ui.btnHexSplitted->setText( QString().sprintf("0x%02hX, 0x%02hX, 0x%02hX", r, g, b) ); _ui.btnHexSplitted->setText( QString().sprintf("0x%02hX, 0x%02hX, 0x%02hX", (unsigned short)r, (unsigned short)g, (unsigned short)b) );
_ui.btnSplitted->setText( QString().sprintf("%i, %i, %i", r, g, b) ); _ui.btnSplitted->setText( QString().sprintf("%i, %i, %i", r, g, b) );


_ui.buttonGroup->setId( _ui.btnHtml, 0 ); _ui.buttonGroup->setId( _ui.btnHtml, 0 );
Expand Down

0 comments on commit 74c2dee

Please sign in to comment.