From 9ddbf25809e42f2b34d1757c11e3abdf6d7577c4 Mon Sep 17 00:00:00 2001 From: Al12rs Date: Mon, 12 Feb 2018 17:19:07 +0100 Subject: Added support for High DPI Scaling for higher resolution monitors. --- src/main.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index c64e2d8d..935b7404 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -636,6 +636,9 @@ int runApplication(MOApplication &application, SingleInstance &instance, int main(int argc, char *argv[]) { + //Should allow for better scaling of ui with higher resolution displays + QApplication::setAttribute(Qt::AA_EnableHighDpiScaling); + if (argc >= 4) { std::vector arg; auto args = UntouchedCommandLineArguments(2, arg); -- cgit v1.3.1