2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-03 16:15:13 +00:00

Get rid of DisableCustomScaling hack

This shouldn't be needed since Qt is built without High-DPI scaling support in official binaries and QT_SCALE_FACTOR is a debug environment variable, so any use of it is a user's environment misconfiguration.

https://doc.qt.io/qt-6/highdpi.html#environment-variable-reference
This commit is contained in:
Ilya Fedin
2022-05-19 09:10:33 +04:00
committed by John Preston
parent 69e41e911d
commit db33fbac27

View File

@@ -366,7 +366,6 @@ void Sandbox::singleInstanceChecked() {
LOG(("App Info: Detected another instance")); LOG(("App Info: Detected another instance"));
} }
Ui::DisableCustomScaling();
refreshGlobalProxy(); refreshGlobalProxy();
if (!Logs::started() || !Logs::instanceChecked()) { if (!Logs::started() || !Logs::instanceChecked()) {
new NotStartedWindow(); new NotStartedWindow();