summaryrefslogtreecommitdiffstats
path: root/src/gui/styles/qmacstyle_mac.mm
diff options
context:
space:
mode:
authorakorenevsky <cancroid@gmail.com>2010-11-19 15:50:12 (GMT)
committerFabien Freling <fabien.freling@nokia.com>2010-11-19 16:02:47 (GMT)
commit2fcdebe9c716f3b7012f9da4617f419ab32150a6 (patch)
tree379d3c4b19fb7f5a8fe5ca04d80de4ca69a45dc8 /src/gui/styles/qmacstyle_mac.mm
parent8034cab2cce55b43dcc1100d0b22f8c85eb733c2 (diff)
downloadQt-2fcdebe9c716f3b7012f9da4617f419ab32150a6.zip
Qt-2fcdebe9c716f3b7012f9da4617f419ab32150a6.tar.gz
Qt-2fcdebe9c716f3b7012f9da4617f419ab32150a6.tar.bz2
QTBUG-4201 fixed
Merge-request: 660 Reviewed-by: Fabien Freling <fabien.freling@nokia.com>
Diffstat (limited to 'src/gui/styles/qmacstyle_mac.mm')
-rw-r--r--src/gui/styles/qmacstyle_mac.mm5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gui/styles/qmacstyle_mac.mm b/src/gui/styles/qmacstyle_mac.mm
index 3a05f40..a05ec6b 100644
--- a/src/gui/styles/qmacstyle_mac.mm
+++ b/src/gui/styles/qmacstyle_mac.mm
@@ -1948,10 +1948,9 @@ void QMacStyle::unpolish(QWidget* w)
rubber->setAttribute(Qt::WA_NoSystemBackground, true);
}
- if (QFocusFrame *frame = qobject_cast<QFocusFrame *>(w)) {
+ if (QFocusFrame *frame = qobject_cast<QFocusFrame *>(w))
frame->setAttribute(Qt::WA_NoSystemBackground, true);
- frame->setAutoFillBackground(true);
- }
+
QWindowsStyle::unpolish(w);
}