diff options
author | therealfarfetchd <git@therealfarfetchd.dev> | 2019-06-27 23:04:53 +0200 |
---|---|---|
committer | therealfarfetchd <git@therealfarfetchd.dev> | 2019-06-27 23:04:53 +0200 |
commit | a55fa04353b3b7751f27bb6c31b749d185501fc2 (patch) | |
tree | f5725d14aa2d1d423348b8aba6982e6279569e98 | |
parent | fde43c993e0a143b9dddcaff2190c91f4e5e3cb9 (diff) | |
download | MultiMC-a55fa04353b3b7751f27bb6c31b749d185501fc2.tar MultiMC-a55fa04353b3b7751f27bb6c31b749d185501fc2.tar.gz MultiMC-a55fa04353b3b7751f27bb6c31b749d185501fc2.tar.lz MultiMC-a55fa04353b3b7751f27bb6c31b749d185501fc2.tar.xz MultiMC-a55fa04353b3b7751f27bb6c31b749d185501fc2.zip |
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 |