From 2fcdebe9c716f3b7012f9da4617f419ab32150a6 Mon Sep 17 00:00:00 2001 From: akorenevsky Date: Fri, 19 Nov 2010 16:50:12 +0100 Subject: QTBUG-4201 fixed Merge-request: 660 Reviewed-by: Fabien Freling --- src/gui/styles/qmacstyle_mac.mm | 5 ++--- 1 file 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(w)) { + if (QFocusFrame *frame = qobject_cast(w)) frame->setAttribute(Qt::WA_NoSystemBackground, true); - frame->setAutoFillBackground(true); - } + QWindowsStyle::unpolish(w); } -- cgit v0.12