Merge pull request #332 from keepassxreboot/hotfix/323-revert-hidpi-scaling

Revert "Enable High DPI scaling", resolves #323
This commit is contained in:
TheZ3ro 2017-02-20 00:18:11 +01:00 committed by GitHub
commit 7613f1b726

View File

@ -18,7 +18,6 @@
#include <QCommandLineParser>
#include <QFile>
#include <QTextStream>
#include <QtGlobal>
#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);