mirror of
https://github.com/zealdocs/zeal.git
synced 2024-11-23 14:26:12 +03:00
parent
967145fd54
commit
43d8dd1680
@ -179,6 +179,11 @@ int main(int argc, char *argv[])
|
||||
QCoreApplication::setOrganizationDomain(QStringLiteral("zealdocs.org"));
|
||||
QCoreApplication::setOrganizationName(QStringLiteral("Zeal"));
|
||||
|
||||
#if QT_VERSION >= 0x050600
|
||||
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
|
||||
#endif
|
||||
QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
|
||||
|
||||
QScopedPointer<QApplication> qapp(new QApplication(argc, argv));
|
||||
|
||||
const CommandLineParameters clParams = parseCommandLine(qapp->arguments());
|
||||
|
Loading…
Reference in New Issue
Block a user