mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 08:21:29 +12:00
Qt/windows: use Qt's high dpi scaling
This commit is contained in:
parent
9717e19be2
commit
79003cd089
2 changed files with 18 additions and 16 deletions
|
@ -94,12 +94,8 @@ int main(int argc, char** argv)
|
|||
{
|
||||
logs::set_init();
|
||||
|
||||
#ifdef _WIN32
|
||||
// use this instead of SetProcessDPIAware if Qt ever fully supports this on windows
|
||||
// at the moment it can't display QCombobox frames for example
|
||||
// I think there was an issue with gsframe if I recall correctly, so look out for that
|
||||
//QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
|
||||
SetProcessDPIAware();
|
||||
#if defined(_WIN32) || defined(__APPLE__)
|
||||
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
|
||||
#else
|
||||
qputenv("QT_AUTO_SCREEN_SCALE_FACTOR", "1");
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue