Color button fixes.

This commit is contained in:
Jim Evins
2015-08-18 14:58:30 -04:00
parent 4ab105e06f
commit 4131bedba5
6 changed files with 14 additions and 4 deletions
+1
View File
@@ -45,6 +45,7 @@ namespace glabels
QWidget* parent )
: QPushButton(parent), mId(id), mColor(color), mTip(tip)
{
setFlat( true );
setIcon( QIcon( ColorSwatch( wSwatch, hSwatch, color ) ) );
setToolTip( tip );