Skip to content

Commit

Permalink
Merge pull request #526 from mthw0/patch-1
Browse files Browse the repository at this point in the history
Fix blurry icons when fractional scaling is enabled
  • Loading branch information
annejan authored May 29, 2020
2 parents 134b675 + 12c5e39 commit 2412ec5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 2412ec5

Please sign in to comment.