mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 21:15:55 +03:00
This was removed in 0194ebb222
because it breaks on Linux. However, it looks like it is correct
for Windows. In the meantime the surrounding ifdef has changed
from !Q_OS_MAC to Q_OS_WIN, so reverting it makes sense.
This commit is contained in:
parent
622017adcf
commit
b4d26ba952
1 changed files with 2 additions and 0 deletions
|
@ -58,6 +58,8 @@ int main(int argc, char **argv)
|
|||
// not set this envoronment variable)
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(5, 6, 0)
|
||||
qputenv("QT_AUTO_SCREEN_SCALE_FACTOR", "1");
|
||||
#else
|
||||
qputenv("QT_DEVICE_PIXEL_RATIO", "auto"); // See #4840, #4994
|
||||
#endif
|
||||
#endif // !Q_OS_WIN
|
||||
|
||||
|
|
Loading…
Reference in a new issue