mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02: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:
parent
69e41e911d
commit
db33fbac27
1 changed files with 0 additions and 1 deletions
|
@ -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();
|
||||||
|
|
Loading…
Add table
Reference in a new issue