QTfrontend/main.cpp
changeset 10488 c5735d0fcc50
parent 10486 5e2d26bcafd6
child 11046 47a8c19ecb60
--- a/QTfrontend/main.cpp	Tue Nov 11 21:45:20 2014 +0100
+++ b/QTfrontend/main.cpp	Tue Nov 11 21:46:17 2014 +0100
@@ -333,6 +333,7 @@
         if (!Translator.load(QString("physfs://Locale/hedgewars_%1").arg(cc)))
             qWarning("Failed to install translation (%s)", qPrintable(cc));
         app.installTranslator(&Translator);
+        app.setLayoutDirection(QLocale(cc).textDirection());
     }
 
 #ifdef _WIN32