Support Right-to-Left layouts
Qt does this all automatically, we just need to hook it up
This commit is contained in:
parent
f0eb7b42e2
commit
786067f3b1
|
@ -294,6 +294,7 @@ static bool TryInstallTranslator(const QString& exact_language_code)
|
|||
|
||||
QLocale::setDefault(QLocale(exact_language_code));
|
||||
UICommon::SetLocale(exact_language_code.toStdString());
|
||||
QApplication::setLayoutDirection(QLocale(exact_language_code).textDirection());
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue