From db33fbac273e4d27a7955e8bd990a4f1ce19efd2 Mon Sep 17 00:00:00 2001 From: Ilya Fedin Date: Thu, 19 May 2022 09:10:33 +0400 Subject: [PATCH] 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 --- Telegram/SourceFiles/core/sandbox.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Telegram/SourceFiles/core/sandbox.cpp b/Telegram/SourceFiles/core/sandbox.cpp index c6e6d3c3e..6273a3ff9 100644 --- a/Telegram/SourceFiles/core/sandbox.cpp +++ b/Telegram/SourceFiles/core/sandbox.cpp @@ -366,7 +366,6 @@ void Sandbox::singleInstanceChecked() { LOG(("App Info: Detected another instance")); } - Ui::DisableCustomScaling(); refreshGlobalProxy(); if (!Logs::started() || !Logs::instanceChecked()) { new NotStartedWindow();