mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-12-31 18:16:58 +00:00
Use setenv instead of qputenv
A user reported issues with Qt's hidpi scaling and RPCS3. They could not disable with their own environment variable because qputenv overwrites them, setenv with 0 as third arg doesn't.
This commit is contained in:
parent
6b01c2f9f5
commit
7cf11c7637
@ -97,7 +97,7 @@ int main(int argc, char** argv)
|
||||
#if defined(_WIN32) || defined(__APPLE__)
|
||||
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
|
||||
#else
|
||||
qputenv("QT_AUTO_SCREEN_SCALE_FACTOR", "1");
|
||||
setenv("QT_AUTO_SCREEN_SCALE_FACTOR", "1", 0);
|
||||
#endif
|
||||
|
||||
#ifdef __linux__
|
||||
|
Loading…
Reference in New Issue
Block a user