mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 16:31:28 +12:00
Try to fix ugly GUIs
This commit is contained in:
parent
d633a266c1
commit
25d73f5a70
1 changed files with 6 additions and 0 deletions
|
@ -195,6 +195,12 @@ 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
|
||||||
|
if (!qEnvironmentVariable("QT_AUTO_SCALE_FACTOR", "").isEmpty())
|
||||||
|
{
|
||||||
|
qputenv("QT_AUTO_SCALE_FACTOR", "0");
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
bool use_high_dpi = true;
|
bool use_high_dpi = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue