mirror of
https://github.com/jellyfin/jellyfin-media-player.git
synced 2024-11-27 08:10:25 +00:00
Allow hidpi on Windows again
Should work with Qt 5.9.
This commit is contained in:
parent
a91a2cb183
commit
f77d06e052
@ -162,10 +162,6 @@ int main(int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
|
|
||||||
auto scale = parser.value("scale-factor");
|
auto scale = parser.value("scale-factor");
|
||||||
#ifdef Q_OS_WIN32
|
|
||||||
if (scale == "auto")
|
|
||||||
scale = "none";
|
|
||||||
#endif
|
|
||||||
if (scale.isEmpty() || scale == "auto")
|
if (scale.isEmpty() || scale == "auto")
|
||||||
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
|
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
|
||||||
else if (scale != "none")
|
else if (scale != "none")
|
||||||
|
Loading…
Reference in New Issue
Block a user