diff options
author | Jens Bache-Wiig <jbache@trolltech.com> | 2010-01-28 15:38:55 +0100 |
---|---|---|
committer | Jens Bache-Wiig <jbache@trolltech.com> | 2010-01-28 15:43:09 +0100 |
commit | c58ac55bbe65866db85ba1338642c00fe5cc2a70 (patch) | |
tree | 64d9a9b90656b2815d0943de2e7c11f8cfc83d6d /src/gui/styles/qmacstyle_mac.mm | |
parent | 6f260fe99f742949bbfcfcf3eebc19486bd09a1e (diff) | |
download | qt4-tools-c58ac55bbe65866db85ba1338642c00fe5cc2a70.tar.gz |
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/styles/qmacstyle_mac.mm')
-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 083f730ca8..2313ac583f 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: |