Use Qt::AA_UseHighDpiPixmaps on all platforms

... not only on Linux, in order to prevent icons from being fuzzy.

Fixes #475
This commit is contained in:
Wolfram Rösler 2019-12-28 23:51:03 +01:00 committed by Janek Bevendorff
parent 2ca8dbebea
commit 05ef937e92

View File

@ -50,10 +50,8 @@ int main(int argc, char** argv)
#if QT_VERSION >= QT_VERSION_CHECK(5, 6, 0)
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
#ifdef Q_OS_LINUX
QGuiApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
#endif
#endif
#if QT_VERSION >= QT_VERSION_CHECK(5, 7, 0)
QGuiApplication::setDesktopFileName("org.keepassxc.KeePassXC.desktop");