UI: Enable HiDPI scaling.
This makes the app much more usable on hidpi screen devices like the surface.
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user