From cc44a833d5bed06aabbd303eaaee0c4b9103a1b9 Mon Sep 17 00:00:00 2001 From: Janek Bevendorff Date: Sun, 19 Feb 2017 23:42:05 +0100 Subject: [PATCH] Revert "Enable High DPI scaling", resolves #323 This reverts commit 188cac34ce6366ec37fea4c5c0a138cd6bfb1215. --- src/main.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 9f912a644..a9ab4c4aa 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -18,7 +18,6 @@ #include #include #include -#include #include "config-keepassx.h" #include "core/Config.h" @@ -45,10 +44,7 @@ int main(int argc, char** argv) Tools::disableCoreDumps(); #endif Tools::setupSearchPaths(); - -#if QT_VERSION >= QT_VERSION_CHECK(5, 6, 0) - QApplication::setAttribute(Qt::AA_EnableHighDpiScaling); -#endif + Application app(argc, argv); Application::setApplicationName("keepassxc"); Application::setApplicationVersion(KEEPASSX_VERSION);