1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Dominik Riebeling 2010-04-07 18:10:23 +00:00
parent 8b2ec40a55
commit 76d07bcd20

View file

@ -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);