Skip to content
Permalink
Browse files

Merge pull request #2718 from therealfarfetchd/hidpi-icon-fix

Enable HiDPI pixmaps to fix icon scaling for HiDPI displays
  • Loading branch information...
peterix committed Jun 30, 2019
2 parents 63330bf + a55fa04 commit 0b86a7ebf32ae52c341f4b535537aa4f7e019970
Showing with 1 addition and 0 deletions.
  1. +1 −0 application/main.cpp
@@ -30,6 +30,7 @@ int main(int argc, char *argv[])

#if (QT_VERSION >= QT_VERSION_CHECK(5, 6, 0))
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QGuiApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
#endif

// initialize Qt

0 comments on commit 0b86a7e

Please sign in to comment.
You can’t perform that action at this time.