From 2919a20384a3681db0964f0aa1711252e1795f48 Mon Sep 17 00:00:00 2001 From: "Sanych.by" Date: Thu, 30 Mar 2023 11:51:31 +0300 Subject: [PATCH] help question mark in dialogs disabled by default in Qt6 --- frontend_qt/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend_qt/main.cpp b/frontend_qt/main.cpp index a7d395d8..2edfe6bf 100644 --- a/frontend_qt/main.cpp +++ b/frontend_qt/main.cpp @@ -28,7 +28,7 @@ int main(int argc, char *argv[]) /* Suppresses "Qt WebEngine seems to be initialized from a plugin" warning */ QApplication::setAttribute(Qt::AA_ShareOpenGLContexts); #endif -#if defined(_WIN32) && QT_VERSION >= 0x50A01 +#if defined(_WIN32) && QT_VERSION >= 0x50A01 && QT_VERSION < 0x60000 /* Suppresses help question mark in dialogs */ QApplication::setAttribute(Qt::AA_DisableWindowContextHelpButton); #endif