summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authormthw0 <31957530+mthw0@users.noreply.github.com>2020-05-23 18:30:54 +0200
committerGitHub <noreply@github.com>2020-05-23 18:30:54 +0200
commit12c5e39ded9ff1148bf76d18affb835e0bf741b5 (patch)
treeb65c7e9d1bb9625bb8de828c15b45e5bb30a801c /main
parent793a499ecaaab52100c14fc49eda932d9f8410b0 (diff)
Fix blurry icons when fractional scaling is enabled
Diffstat (limited to 'main')
-rw-r--r--main/main.cpp1
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) {