summaryrefslogtreecommitdiffstats
path: root/src/gui
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:48:03 (GMT)
commitb4d60000981e298b7e40605a284f2b8b9b18fff5 (patch)
tree4016f8c3da28229ee8408d3b24eef78b14f84931 /src/gui
parentc69b74008c72b7e2da5ff4bc57112b89d0a36d7d (diff)
downloadQt-b4d60000981e298b7e40605a284f2b8b9b18fff5.zip
Qt-b4d60000981e298b7e40605a284f2b8b9b18fff5.tar.gz
Qt-b4d60000981e298b7e40605a284f2b8b9b18fff5.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.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 f4af579..7a680f2 100644
--- a/src/gui/styles/qmacstyle_mac.mm
+++ b/src/gui/styles/qmacstyle_mac.mm
@@ -4341,8 +4341,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: