From c4eebbba54717bac6abb1ae22ae1cb492fe212ad Mon Sep 17 00:00:00 2001 From: Colin Edwards Date: Thu, 29 Sep 2016 21:18:13 -0500 Subject: [PATCH] UI: Enable HiDPI scaling. This makes the app much more usable on hidpi screen devices like the surface. --- UI/obs-app.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/UI/obs-app.cpp b/UI/obs-app.cpp index e7bb8f643..2ffee1a4f 100644 --- a/UI/obs-app.cpp +++ b/UI/obs-app.cpp @@ -1309,6 +1309,8 @@ static int run_program(fstream &logFile, int argc, char *argv[]) QCoreApplication::addLibraryPath("."); + QApplication::setAttribute(Qt::AA_EnableHighDpiScaling); + OBSApp program(argc, argv, profilerNameStore.get()); try { program.AppInit();