App: Restrict use of Qt::AA_DisableWindowContextHelpButton to Qt 5

Gone afterwards.

Change-Id: I8c7009658844a5979b144c108736055ed11bec05
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
hjk
2020-06-19 12:06:46 +02:00
parent 3ec4afff0e
commit 7dfa4acfb7

View File

@@ -558,7 +558,9 @@ int main(int argc, char **argv)
#endif
app.setAttribute(Qt::AA_UseHighDpiPixmaps);
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
app.setAttribute(Qt::AA_DisableWindowContextHelpButton);
#endif
PluginManager pluginManager;
PluginManager::setPluginIID(QLatin1String("org.qt-project.Qt.QtCreatorPlugin"));