diff options
| author | Petr Mrázek <peterix@users.noreply.github.com> | 2019-06-30 15:39:29 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-06-30 15:39:29 +0200 |
| commit | 0b86a7ebf32ae52c341f4b535537aa4f7e019970 (patch) | |
| tree | 162f6933fab73ea8d2c0fa159b74d2bd30e177e2 | |
| parent | 63330bf1113e0da3f2733ec9d6ad98fc13ad4bb7 (diff) | |
| parent | a55fa04353b3b7751f27bb6c31b749d185501fc2 (diff) | |
| download | PrismLauncher-0b86a7ebf32ae52c341f4b535537aa4f7e019970.tar.gz PrismLauncher-0b86a7ebf32ae52c341f4b535537aa4f7e019970.tar.bz2 PrismLauncher-0b86a7ebf32ae52c341f4b535537aa4f7e019970.zip | |
Merge pull request #2718 from therealfarfetchd/hidpi-icon-fix
Enable HiDPI pixmaps to fix icon scaling for HiDPI displays
| -rw-r--r-- | application/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/application/main.cpp b/application/main.cpp index f724845e..5c851217 100644 --- a/application/main.cpp +++ b/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 |
