diff options
author | Tomer Shalev <shalev.tomer@gmail.com> | 2009-10-19 17:38:46 +0000 |
---|---|---|
committer | Tomer Shalev <shalev.tomer@gmail.com> | 2009-10-19 17:38:46 +0000 |
commit | 660dbd697d54199db5dfc33d2d3859825f0f77ac (patch) | |
tree | a73da5e1d98cdf0bae16bd44c1baed2304ff9d2b /rbutil/rbutilqt/main.cpp | |
parent | bad510ad10294083f502e32d55eea568d08b3ccb (diff) | |
download | rockbox-660dbd697d54199db5dfc33d2d3859825f0f77ac.tar.gz rockbox-660dbd697d54199db5dfc33d2d3859825f0f77ac.zip |
rbutil: Change layout to RTL if Hebrew language is used
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23264 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/main.cpp')
-rw-r--r-- | rbutil/rbutilqt/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/main.cpp b/rbutil/rbutilqt/main.cpp index 086dc65ea6..cf4cc03d4c 100644 --- a/rbutil/rbutilqt/main.cpp +++ b/rbutil/rbutilqt/main.cpp | |||
@@ -65,6 +65,8 @@ int main( int argc, char ** argv ) { | |||
65 | delete user; | 65 | delete user; |
66 | app.installTranslator(&translator); | 66 | app.installTranslator(&translator); |
67 | app.installTranslator(&qttrans); | 67 | app.installTranslator(&qttrans); |
68 | if(applang == "he") | ||
69 | app.setLayoutDirection(Qt::RightToLeft); | ||
68 | 70 | ||
69 | RbUtilQt window(0); | 71 | RbUtilQt window(0); |
70 | window.show(); | 72 | window.show(); |