diff options
author | Anne Jan Brouwer <brouwer@annejan.com> | 2020-05-30 00:04:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-30 00:04:49 +0200 |
commit | 2412ec533faf0dc1f4c762bdd4ed812afd0a48eb (patch) | |
tree | 78c0612d7bcbf768e30f5138c29f9f7c2beed98b | |
parent | 134b6754195d3c8711ba809582c9d599c779543e (diff) | |
parent | 12c5e39ded9ff1148bf76d18affb835e0bf741b5 (diff) |
Merge pull request #526 from mthw0/patch-1
Fix blurry icons when fractional scaling is enabled
-rw-r--r-- | main/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/main/main.cpp b/main/main.cpp index 97d7611d..31d92dbf 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -42,6 +42,7 @@ int main(int argc, char *argv[]) { #if QT_VERSION >= QT_VERSION_CHECK(5, 6, 0) QApplication::setAttribute(Qt::AA_EnableHighDpiScaling); + QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps); #endif QString text = ""; for (int i = 1; i < argc; ++i) { |