diff options
author | 2022-08-27 21:29:04 +0530 | |
---|---|---|
committer | 2022-08-27 21:29:04 +0530 | |
commit | 771625dae018af75304a0d2a7c942eb2f6e16e0a (patch) | |
tree | 5cc28cd9d09e983ea5e91b123f2f96af970677ba /src/main.cpp | |
parent | 54f97210d9171bb61fa9795d0328c512d684bc39 (diff) | |
download | whatsie-771625dae018af75304a0d2a7c942eb2f6e16e0a.tar.gz whatsie-771625dae018af75304a0d2a7c942eb2f6e16e0a.zip |
chore: unlock action buttonv4.8.0
- use unlock action button instead of pushbutton
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
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"); |