diff options
author | Jens Bache-Wiig <jbache@trolltech.com> | 2010-01-28 14:38:55 (GMT) |
---|---|---|
committer | Jens Bache-Wiig <jbache@trolltech.com> | 2010-01-28 14:43:09 (GMT) |
commit | c58ac55bbe65866db85ba1338642c00fe5cc2a70 (patch) | |
tree | 64d9a9b90656b2815d0943de2e7c11f8cfc83d6d /src/gui | |
parent | 6f260fe99f742949bbfcfcf3eebc19486bd09a1e (diff) | |
download | Qt-c58ac55bbe65866db85ba1338642c00fe5cc2a70.zip Qt-c58ac55bbe65866db85ba1338642c00fe5cc2a70.tar.gz Qt-c58ac55bbe65866db85ba1338642c00fe5cc2a70.tar.bz2 |
Fix header labels on mac with rtl
The removed code simply reduces the size of the rect when running
with RightToLeft without compensating anywhere else. It seems to be
a leftover from a previously removed piece of code.
Reviewed-by: richard
Task-number: QTBUG-6882
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/styles/qmacstyle_mac.mm | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/styles/qmacstyle_mac.mm b/src/gui/styles/qmacstyle_mac.mm index 083f730..2313ac5 100644 --- a/src/gui/styles/qmacstyle_mac.mm +++ b/src/gui/styles/qmacstyle_mac.mm @@ -4320,8 +4320,6 @@ QRect QMacStyle::subElementRect(SubElement sr, const QStyleOption *opt, rect.setY(0); rect.setHeight(widget->height()); } - if (opt->direction == Qt::RightToLeft) - rect.adjust(15, 0, -20, 0); } break; case SE_ProgressBarGroove: |