summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJens Bache-Wiig <jbache@trolltech.com>2010-01-28 14:38:55 (GMT)
committerJens Bache-Wiig <jbache@trolltech.com>2010-01-28 14:43:09 (GMT)
commitc58ac55bbe65866db85ba1338642c00fe5cc2a70 (patch)
tree64d9a9b90656b2815d0943de2e7c11f8cfc83d6d
parent6f260fe99f742949bbfcfcf3eebc19486bd09a1e (diff)
downloadQt-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
-rw-r--r--src/gui/styles/qmacstyle_mac.mm2
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: