summaryrefslogtreecommitdiffstats
path: root/src/gui/styles/qmacstyle_mac.mm
diff options
context:
space:
mode:
authorJens Bache-Wiig <jbache@trolltech.com>2010-01-21 10:31:50 (GMT)
committerJens Bache-Wiig <jbache@trolltech.com>2010-01-21 10:31:50 (GMT)
commit5bda4e27bbe3fde98bd5c628fada76dfccadad0e (patch)
tree7aabc1728cb267019e8c3d11a5f96bd3519344bc /src/gui/styles/qmacstyle_mac.mm
parentd1e3f6dffbd9b28027d1b776e4763dc46d058841 (diff)
downloadQt-5bda4e27bbe3fde98bd5c628fada76dfccadad0e.zip
Qt-5bda4e27bbe3fde98bd5c628fada76dfccadad0e.tar.gz
Qt-5bda4e27bbe3fde98bd5c628fada76dfccadad0e.tar.bz2
Remove statusbaritem on Mac OSX
The statusbar item should not draw a frame on Mac OSX. The current frame is essentially redundant and results in non-native appearance on Mac. Task-number: QTBUG-3574 Reviewed-by: morten
Diffstat (limited to 'src/gui/styles/qmacstyle_mac.mm')
-rw-r--r--src/gui/styles/qmacstyle_mac.mm1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gui/styles/qmacstyle_mac.mm b/src/gui/styles/qmacstyle_mac.mm
index 51c2a96..0e0a9ca 100644
--- a/src/gui/styles/qmacstyle_mac.mm
+++ b/src/gui/styles/qmacstyle_mac.mm
@@ -3132,7 +3132,6 @@ void QMacStyle::drawPrimitive(PrimitiveElement pe, const QStyleOption *opt, QPai
p->drawLine(opt->rect.topLeft(), opt->rect.bottomLeft());
} break;
case PE_FrameStatusBarItem:
- QCommonStyle::drawPrimitive(pe, opt, p, w);
break;
case PE_IndicatorTabClose: {
bool hover = (opt->state & State_MouseOver);