[qet] [3257] Bug fix: conductorpropertieswidget, the color button now shows the true color of the conductor color in other style as windowsvista GTK etc... |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
- To: qet@xxxxxxxxxxxxxxxxxxx
- Subject: [qet] [3257] Bug fix: conductorpropertieswidget, the color button now shows the true color of the conductor color in other style as windowsvista GTK etc...
- From: subversion@xxxxxxxxxxxxx
- Date: Thu, 07 Aug 2014 23:02:07 +0200
Revision: 3257
Author: scorpio810
Date: 2014-08-07 23:02:06 +0200 (Thu, 07 Aug 2014)
Log Message:
-----------
Bug fix: conductorpropertieswidget, the color button now shows the true color of the conductor color in other style as windowsvista GTK etc...
Modified Paths:
--------------
trunk/sources/ui/conductorpropertieswidget.cpp
Modified: trunk/sources/ui/conductorpropertieswidget.cpp
===================================================================
--- trunk/sources/ui/conductorpropertieswidget.cpp 2014-08-07 20:52:44 UTC (rev 3256)
+++ trunk/sources/ui/conductorpropertieswidget.cpp 2014-08-07 21:02:06 UTC (rev 3257)
@@ -222,7 +222,7 @@
void ConductorPropertiesWidget::setColorButton(const QColor &color) {
QPalette palette;
palette.setColor(QPalette::Button, color);
- ui -> m_color_pb -> setPalette(palette);
+ ui -> m_color_pb -> setStyleSheet(QString("background-color: %1").arg(color.name()));
}
/**