Qt/Linux: fix QT_AUTO_SCREEN_SCALE_FACTOR typo

This commit is contained in:
Megamouse 2020-08-13 17:53:12 +02:00
parent e958c3cc6a
commit e6e753f37f

View file

@ -196,10 +196,10 @@ QCoreApplication* createApplication(int& argc, char* argv[])
qputenv("DISPLAY", ":0"); qputenv("DISPLAY", ":0");
} }
// Set QT_AUTO_SCALE_FACTOR to 0. This value is deprecated but still seems to make problems on some distros // Set QT_AUTO_SCREEN_SCALE_FACTOR to 0. This value is deprecated but still seems to make problems on some distros
if (!qEnvironmentVariable("QT_AUTO_SCALE_FACTOR", "").isEmpty()) if (!qEnvironmentVariable("QT_AUTO_SCREEN_SCALE_FACTOR", "").isEmpty())
{ {
qputenv("QT_AUTO_SCALE_FACTOR", "0"); qputenv("QT_AUTO_SCREEN_SCALE_FACTOR", "0");
} }
#endif #endif