Restore correct version check for AA_UseHighDpiPixmaps - amend change ae56fb6171

This commit is contained in:
Stephan Witt 2021-12-07 23:01:47 +01:00
parent fb4a485c19
commit 0e0b76a76e

View File

@ -1109,7 +1109,7 @@ GuiApplication::GuiApplication(int & argc, char ** argv)
QCoreApplication::setOrganizationName(app_name);
QCoreApplication::setOrganizationDomain("lyx.org");
QCoreApplication::setApplicationName(lyx_package);
#if QT_VERSION >= 0x050000 && QT_VERSION < 0x060000
#if QT_VERSION >= 0x050100 && QT_VERSION < 0x060000
QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
#endif