Qt: Enable DPI scaling

This commit is contained in:
Connor McLaughlin 2020-01-03 17:51:42 +10:00
parent bea15c97cd
commit fbf5e7f0e3

View file

@ -20,6 +20,8 @@ int main(int argc, char* argv[])
{
InitLogging();
QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QApplication app(argc, argv);
std::unique_ptr<QtHostInterface> host_interface = std::make_unique<QtHostInterface>();