summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorMartin Petersson <martin.petersson@nokia.com>2011-03-14 13:20:22 (GMT)
committerMartin Petersson <martin.petersson@nokia.com>2011-03-14 13:20:22 (GMT)
commitd0e46f9221b614007cc4dea25e0f83d10f1c2f11 (patch)
tree07278c56ef7e96a5349aec273036a4570c814192 /src/gui
parentdb1ccf9d57f19cf01efb020b6d1967ef6084a8e3 (diff)
downloadQt-d0e46f9221b614007cc4dea25e0f83d10f1c2f11.zip
Qt-d0e46f9221b614007cc4dea25e0f83d10f1c2f11.tar.gz
Qt-d0e46f9221b614007cc4dea25e0f83d10f1c2f11.tar.bz2
Mac Style: Compile Fix
Task-number: QTBUG-13055 Reviewed-by: Markus Goetz
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/styles/qmacstyle_mac.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/styles/qmacstyle_mac.mm b/src/gui/styles/qmacstyle_mac.mm
index f2ad782..18933ff 100644
--- a/src/gui/styles/qmacstyle_mac.mm
+++ b/src/gui/styles/qmacstyle_mac.mm
@@ -3084,7 +3084,7 @@ void QMacStyle::drawPrimitive(PrimitiveElement pe, const QStyleOption *opt, QPai
}
break;
case PE_PanelScrollAreaCorner: {
- const QBrush brush(opt->palette().brush(QPalette::Base));
+ const QBrush brush(opt->palette.brush(QPalette::Base));
p->fillRect(opt->rect, brush);
p->setPen(QPen(QColor(217, 217, 217)));
p->drawLine(opt->rect.topLeft(), opt->rect.topRight());