summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/main.cpp
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2010-04-07 18:10:23 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2010-04-07 18:10:23 +0000
commit76d07bcd20a542e103a6d12d14c1d8ff9b962a3e (patch)
treef068c0b71ee4c735311339f65731a62cb575081e /rbutil/rbutilqt/main.cpp
parent8b2ec40a5516d84d7e10869d7238e884a13749e2 (diff)
downloadrockbox-76d07bcd20a542e103a6d12d14c1d8ff9b962a3e.tar.gz
rockbox-76d07bcd20a542e103a6d12d14c1d8ff9b962a3e.tar.bz2
rockbox-76d07bcd20a542e103a6d12d14c1d8ff9b962a3e.zip
Fix layout special case for hebrew failing for system language (FS#11180).
For hebrew, a special case handles switching to RTL. Make this work if the language selection is done by the system environment, i.e. no language has been selected by the user previously. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25518 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/main.cpp')
-rw-r--r--rbutil/rbutilqt/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/main.cpp b/rbutil/rbutilqt/main.cpp
index cf4cc03d4c..1fb83b328d 100644
--- a/rbutil/rbutilqt/main.cpp
+++ b/rbutil/rbutilqt/main.cpp
@@ -65,7 +65,7 @@ int main( int argc, char ** argv ) {
delete user;
app.installTranslator(&translator);
app.installTranslator(&qttrans);
- if(applang == "he")
+ if(applang.startsWith("he"))
app.setLayoutDirection(Qt::RightToLeft);
RbUtilQt window(0);