Skip to content
Permalink
Browse files

Enable HiDPI pixmaps to fix icon scaling for HiDPI displays

  • Loading branch information...
therealfarfetchd committed Jun 27, 2019
1 parent fde43c9 commit a55fa04353b3b7751f27bb6c31b749d185501fc2
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 a55fa04

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