summaryrefslogtreecommitdiffstats
path: root/src/gui/styles
diff options
context:
space:
mode:
authorJens Bache-Wiig <jbache@trolltech.com>2009-04-07 07:51:31 (GMT)
committerJens Bache-Wiig <jbache@trolltech.com>2009-04-07 07:51:31 (GMT)
commitb9d6ecc1dbe5791fec6fb06de3be06186b485420 (patch)
tree247f3575201084c47a2616f20ae0dd5a8d1bfd33 /src/gui/styles
parente60d3622607cbf1b3583a205fc9e3e019a555b45 (diff)
downloadQt-b9d6ecc1dbe5791fec6fb06de3be06186b485420.zip
Qt-b9d6ecc1dbe5791fec6fb06de3be06186b485420.tar.gz
Qt-b9d6ecc1dbe5791fec6fb06de3be06186b485420.tar.bz2
BT: Compile without QT3SUPPORT
Reviewed-by: ogoffart
Diffstat (limited to 'src/gui/styles')
-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);