From d2cbef9dffc853f8368cf0c8dfa9b6d0ce2f8b60 Mon Sep 17 00:00:00 2001 From: Rasmus Karlsson Date: Sat, 17 Jun 2017 11:33:14 +0200 Subject: [PATCH] Enable DPI Scaling --- src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 635aef48..528521bf 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -50,6 +50,8 @@ int main(int argc, char *argv[]) { QApplication a(argc, argv); + a.setAttribute(Qt::AA_EnableHighDpiScaling, true); + // Options bool portable = false;