Enforce LTR layout (#1102)

This commit is contained in:
Itay Cohen 2019-01-12 21:44:23 +02:00 committed by GitHub
parent c378c7d6f3
commit bdc684769f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,6 +30,7 @@ CutterApplication::CutterApplication(int &argc, char **argv) : QApplication(argc
setApplicationVersion(CUTTER_VERSION_FULL); setApplicationVersion(CUTTER_VERSION_FULL);
setWindowIcon(QIcon(":/img/cutter.svg")); setWindowIcon(QIcon(":/img/cutter.svg"));
setAttribute(Qt::AA_DontShowIconsInMenus); setAttribute(Qt::AA_DontShowIconsInMenus);
setLayoutDirection(Qt::LeftToRight);
// WARN!!! Put initialization code below this line. Code above this line is mandatory to be run First // WARN!!! Put initialization code below this line. Code above this line is mandatory to be run First
// Load translations // Load translations