mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-04-03 20:47:37 +03:00
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:
parent
2ca8dbebea
commit
05ef937e92
1 changed files with 0 additions and 2 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue