From 771625dae018af75304a0d2a7c942eb2f6e16e0a Mon Sep 17 00:00:00 2001 From: Keshav Bhatt Date: Sat, 27 Aug 2022 21:29:04 +0530 Subject: chore: unlock action button - use unlock action button instead of pushbutton --- src/main.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 360dc95..84720ef 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -14,13 +14,6 @@ int main(int argc, char *argv[]) { QApplication::setAttribute(Qt::AA_EnableHighDpiScaling); - static const char ENV_VAR_QT_DEVICE_PIXEL_RATIO[] = "QT_DEVICE_PIXEL_RATIO"; - if (!qEnvironmentVariableIsSet(ENV_VAR_QT_DEVICE_PIXEL_RATIO) && - !qEnvironmentVariableIsSet("QT_AUTO_SCREEN_SCALE_FACTOR") && - !qEnvironmentVariableIsSet("QT_SCALE_FACTOR") && - !qEnvironmentVariableIsSet("QT_SCREEN_SCALE_FACTORS")) { - QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); - } #ifdef QT_DEBUG qputenv("QTWEBENGINE_CHROMIUM_FLAGS", "--remote-debugging-port=9421"); -- cgit v1.2.3