summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomer Shalev <shalev.tomer@gmail.com>2009-10-19 17:38:46 +0000
committerTomer Shalev <shalev.tomer@gmail.com>2009-10-19 17:38:46 +0000
commit660dbd697d54199db5dfc33d2d3859825f0f77ac (patch)
treea73da5e1d98cdf0bae16bd44c1baed2304ff9d2b
parentbad510ad10294083f502e32d55eea568d08b3ccb (diff)
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
-rw-r--r--rbutil/rbutilqt/main.cpp2
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 ) {
delete user;
app.installTranslator(&translator);
app.installTranslator(&qttrans);
+ if(applang == "he")
+ app.setLayoutDirection(Qt::RightToLeft);
RbUtilQt window(0);
window.show();