Browse Source

Don't use removed QApplication attribute

adaptive-webui-19844
Vladimir Golovnev (Glassez) 4 years ago
parent
commit
135cad576c
No known key found for this signature in database
GPG Key ID: 52A2C7DEE2DFA6F7
  1. 2
      src/app/main.cpp

2
src/app/main.cpp

@ -235,7 +235,7 @@ int main(int argc, char *argv[]) @@ -235,7 +235,7 @@ int main(int argc, char *argv[])
// 3. https://bugreports.qt.io/browse/QTBUG-46015
qputenv("QT_BEARER_POLL_TIMEOUT", QByteArray::number(-1));
#if !defined(DISABLE_GUI)
#if (QT_VERSION < QT_VERSION_CHECK(6, 0, 0)) && !defined(DISABLE_GUI)
// this is the default in Qt6
app->setAttribute(Qt::AA_DisableWindowContextHelpButton);
#endif

Loading…
Cancel
Save