forked from qt-creator/qt-creator
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:
@@ -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"));
|
||||
|
||||
Reference in New Issue
Block a user