summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJens Bache-Wiig <jbache@trolltech.com>2009-04-07 07:51:31 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2009-04-08 01:54:00 (GMT)
commit16aefb2e4e2a189951205d350b658888e65b07af (patch)
tree6faad87b2c2574ba1700fdc252599a4cc45f4a36
parent35667fd45ada49269a5987c235fdedfc43e92bb8 (diff)
downloadQt-16aefb2e4e2a189951205d350b658888e65b07af.zip
Qt-16aefb2e4e2a189951205d350b658888e65b07af.tar.gz
Qt-16aefb2e4e2a189951205d350b658888e65b07af.tar.bz2
BT: Compile without QT3SUPPORT
Reviewed-by: ogoffart (cherry picked from commit b9d6ecc1dbe5791fec6fb06de3be06186b485420)
-rw-r--r--src/gui/styles/qgtkstyle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/styles/qgtkstyle.cpp b/src/gui/styles/qgtkstyle.cpp
index 6354ce7..b569b5c 100644
--- a/src/gui/styles/qgtkstyle.cpp
+++ b/src/gui/styles/qgtkstyle.cpp
@@ -2634,7 +2634,7 @@ void QGtkStyle::drawControl(ControlElement element,
QColor disabledTextColor = QColor(gdkDText.red>>8, gdkDText.green>>8, gdkDText.blue>>8);
if (resolve_mask & (1 << QPalette::ButtonText)) {
textColor = option->palette.buttonText().color();
- disabledTextColor = option->palette.brush(QPalette::Disabled, QPalette::ButtonText);;
+ disabledTextColor = option->palette.brush(QPalette::Disabled, QPalette::ButtonText).color();
}
QColor highlightedTextColor = QColor(gdkHText.red>>8, gdkHText.green>>8, gdkHText.blue>>8);