summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/rbutilqt.cpp
diff options
context:
space:
mode:
authorTomer Shalev <shalev.tomer@gmail.com>2009-10-31 17:16:34 +0000
committerTomer Shalev <shalev.tomer@gmail.com>2009-10-31 17:16:34 +0000
commitd011eecad4b894e4829e8fc75836cb69f81452c0 (patch)
tree605bbbf4e7dd16b5a9ef4483c8b3dd8637dda9f8 /rbutil/rbutilqt/rbutilqt.cpp
parentd25baecc0bb15308ff430340da8c461a43ed235a (diff)
downloadrockbox-d011eecad4b894e4829e8fc75836cb69f81452c0.tar.gz
rockbox-d011eecad4b894e4829e8fc75836cb69f81452c0.tar.bz2
rockbox-d011eecad4b894e4829e8fc75836cb69f81452c0.zip
FS#10748 - rbutil: Explicitly override GUI layout direction setting for some widgets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23441 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/rbutilqt.cpp')
-rw-r--r--rbutil/rbutilqt/rbutilqt.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/rbutilqt.cpp b/rbutil/rbutilqt/rbutilqt.cpp
index fd5983306d..aa81513d88 100644
--- a/rbutil/rbutilqt/rbutilqt.cpp
+++ b/rbutil/rbutilqt/rbutilqt.cpp
@@ -89,6 +89,7 @@ RbUtilQt::RbUtilQt(QWidget *parent) : QMainWindow(parent)
ui.treeInfo->setHeaderLabels(QStringList() << tr("File") << tr("Version"));
ui.treeInfo->expandAll();
ui.treeInfo->setColumnCount(2);
+ ui.treeInfo->setLayoutDirection(Qt::LeftToRight);
// disable quick install until version info is available
ui.buttonSmall->setEnabled(false);
ui.buttonComplete->setEnabled(false);
@@ -281,6 +282,7 @@ void RbUtilQt::about()
QDialog *window = new QDialog(this);
Ui::aboutBox about;
about.setupUi(window);
+ window->setLayoutDirection(Qt::LeftToRight);
window->setModal(true);
QFile licence(":/docs/gpl-2.0.html");