UI: Enable HiDPI scaling.

This makes the app much more usable on hidpi screen devices like the
surface.
This commit is contained in:
Colin Edwards
2016-09-29 21:18:13 -05:00
parent 580cfc1a95
commit c4eebbba54

View File

@@ -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();