RTL fixes

This commit is contained in:
craig.p.drummond
2014-06-20 17:58:28 +00:00
committed by craig.p.drummond
parent 231a4f1f34
commit 62550239b5
18 changed files with 44 additions and 38 deletions

View File

@@ -551,7 +551,7 @@ void Icons::initToolbarIcons(const QColor &toolbarText)
QColor stdColor=calcIconColor();
#if !defined Q_OS_WIN && !defined Q_OS_MAC && !defined ENABLE_UBUNTU
if (GtkStyle::useSymbolicIcons()) {
bool rtl=Qt::RightToLeft==QApplication::layoutDirection();
bool rtl=QApplication::isRightToLeft();
QColor col=GtkStyle::symbolicColor();
toolbarPrevIcon=loadMediaIcon(QLatin1String(rtl ? "prev-rtl" : "prev"), col, col);
toolbarPlayIcon=loadMediaIcon(QLatin1String(rtl ? "play-rtl" : "play"), col, col);