From e6e753f37f695039e54361894401a4a2dd963579 Mon Sep 17 00:00:00 2001 From: Megamouse Date: Thu, 13 Aug 2020 17:53:12 +0200 Subject: [PATCH] Qt/Linux: fix QT_AUTO_SCREEN_SCALE_FACTOR typo --- rpcs3/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rpcs3/main.cpp b/rpcs3/main.cpp index 46e764f4f7..e6731b91d4 100644 --- a/rpcs3/main.cpp +++ b/rpcs3/main.cpp @@ -196,10 +196,10 @@ QCoreApplication* createApplication(int& argc, char* argv[]) qputenv("DISPLAY", ":0"); } - // Set QT_AUTO_SCALE_FACTOR to 0. This value is deprecated but still seems to make problems on some distros - if (!qEnvironmentVariable("QT_AUTO_SCALE_FACTOR", "").isEmpty()) + // 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_SCREEN_SCALE_FACTOR", "").isEmpty()) { - qputenv("QT_AUTO_SCALE_FACTOR", "0"); + qputenv("QT_AUTO_SCREEN_SCALE_FACTOR", "0"); } #endif