summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/configure.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/rbutilqt/configure.cpp')
-rw-r--r--rbutil/rbutilqt/configure.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/configure.cpp b/rbutil/rbutilqt/configure.cpp
index 3e7b5f729e..7d427a66f7 100644
--- a/rbutil/rbutilqt/configure.cpp
+++ b/rbutil/rbutilqt/configure.cpp
@@ -71,6 +71,17 @@ Config::Config(QWidget *parent,int index) : QDialog(parent)
ui.treeDevices->setAlternatingRowColors(true);
ui.listLanguages->setAlternatingRowColors(true);
+ /* Explicitly set some widgets to have left-to-right layout */
+ ui.treeDevices->setLayoutDirection(Qt::LeftToRight);
+ ui.treeDevices->setLayoutDirection(Qt::LeftToRight);
+ ui.mountPoint->setLayoutDirection(Qt::LeftToRight);
+ ui.proxyHost->setLayoutDirection(Qt::LeftToRight);
+ ui.proxyPort->setLayoutDirection(Qt::LeftToRight);
+ ui.proxyUser->setLayoutDirection(Qt::LeftToRight);
+ ui.proxyPass->setLayoutDirection(Qt::LeftToRight);
+ ui.listLanguages->setLayoutDirection(Qt::LeftToRight);
+ ui.cachePath->setLayoutDirection(Qt::LeftToRight);
+
this->setModal(true);
connect(ui.buttonOk, SIGNAL(clicked()), this, SLOT(accept()));