Allow hidpi on Windows again

Should work with Qt 5.9.
This commit is contained in:
Vincent Lang 2017-06-02 10:43:48 +02:00 committed by LongChair
parent a91a2cb183
commit f77d06e052

View File

@ -162,10 +162,6 @@ int main(int argc, char *argv[])
}
auto scale = parser.value("scale-factor");
#ifdef Q_OS_WIN32
if (scale == "auto")
scale = "none";
#endif
if (scale.isEmpty() || scale == "auto")
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
else if (scale != "none")