qSetMessagePattern("[%{function}] %{message}");
#endif
- // Seed random number generator
- qsrand(QDateTime::currentDateTime().toTime_t());
-
#ifdef MEDIA_MPV
QSurfaceFormat format = QSurfaceFormat::defaultFormat();
#ifdef APP_MAC
mac::MacMain();
#endif
+ QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
+
QtSingleApplication app(argc, argv);
QString message;
if (app.arguments().size() > 1) {