Revert "Enable High DPI scaling", resolves #323

This reverts commit 188cac34ce.
This commit is contained in:
Janek Bevendorff 2017-02-19 23:42:05 +01:00
parent b9279f73fa
commit cc44a833d5
No known key found for this signature in database
GPG Key ID: CFEC2F6850BFFA53

View File

@ -18,7 +18,6 @@
#include <QCommandLineParser> #include <QCommandLineParser>
#include <QFile> #include <QFile>
#include <QTextStream> #include <QTextStream>
#include <QtGlobal>
#include "config-keepassx.h" #include "config-keepassx.h"
#include "core/Config.h" #include "core/Config.h"
@ -45,10 +44,7 @@ int main(int argc, char** argv)
Tools::disableCoreDumps(); Tools::disableCoreDumps();
#endif #endif
Tools::setupSearchPaths(); Tools::setupSearchPaths();
#if QT_VERSION >= QT_VERSION_CHECK(5, 6, 0)
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
#endif
Application app(argc, argv); Application app(argc, argv);
Application::setApplicationName("keepassxc"); Application::setApplicationName("keepassxc");
Application::setApplicationVersion(KEEPASSX_VERSION); Application::setApplicationVersion(KEEPASSX_VERSION);