diff options
author | Anne Jan Brouwer <brouwer@annejan.com> | 2018-05-03 23:08:36 +0200 |
---|---|---|
committer | Anne Jan Brouwer <brouwer@annejan.com> | 2018-05-03 23:08:36 +0200 |
commit | 4a530820f9270dea749a467b3d78449b53a18ed3 (patch) | |
tree | adef6451a9f82600c873902ea764372e6826d6f5 /main | |
parent | b7430f4ac1098ec2a25959862ab3fd1ca9801531 (diff) |
Totally missed this HighDPI patch from @hgraeber fixes #329
Diffstat (limited to 'main')
-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 559db3a9..cb1e2912 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -40,6 +40,7 @@ */ int main(int argc, char *argv[]) { qputenv("QT_AUTO_SCREEN_SCALE_FACTOR", "1"); + QApplication::setAttribute(Qt::AA_EnableHighDpiScaling); QString text = ""; for (int i = 1; i < argc; ++i) { if (i > 1) |