From 135cad576c98bc6639acdabfcc85f32e2cf7c65a Mon Sep 17 00:00:00 2001 From: "Vladimir Golovnev (Glassez)" Date: Fri, 19 Mar 2021 11:26:52 +0300 Subject: [PATCH] Don't use removed QApplication attribute --- src/app/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/main.cpp b/src/app/main.cpp index aceb0c1e4..f3c20339e 100644 --- a/src/app/main.cpp +++ b/src/app/main.cpp @@ -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