diff options
author | Jens Bache-Wiig <jbache@trolltech.com> | 2010-01-21 10:31:50 (GMT) |
---|---|---|
committer | Jens Bache-Wiig <jbache@trolltech.com> | 2010-01-21 10:31:50 (GMT) |
commit | 5bda4e27bbe3fde98bd5c628fada76dfccadad0e (patch) | |
tree | 7aabc1728cb267019e8c3d11a5f96bd3519344bc /src/gui/styles/qmacstyle_mac.mm | |
parent | d1e3f6dffbd9b28027d1b776e4763dc46d058841 (diff) | |
download | Qt-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.mm | 1 |
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); |