From c9b2528a9d60561e3050a3dadd86b893cd35349d Mon Sep 17 00:00:00 2001 From: Volker Hilsheimer Date: Fri, 3 Apr 2020 12:59:23 +0200 Subject: Don't set WindowContextHelpButtonHint by default for dialogs and sheets This makes the Qt::AA_DisableWindowContextHelpButton flag obsolete. It is already documented as such in Qt 5, so we can remove it now. [ChangeLog][QtWidgets] Do not show 'What's this' button anymore in dialogs on Windows. To show the button again, you need to set Qt::WindowsContextHelpButtonHint explicitly the top level widget. Change-Id: I30017ca300441cb2ee37940ce97dfe18eb2b118b Reviewed-by: Kai Koehne --- src/corelib/global/qnamespace.qdoc | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/corelib/global/qnamespace.qdoc') diff --git a/src/corelib/global/qnamespace.qdoc b/src/corelib/global/qnamespace.qdoc index cff2fab398..480d96acc7 100644 --- a/src/corelib/global/qnamespace.qdoc +++ b/src/corelib/global/qnamespace.qdoc @@ -280,12 +280,6 @@ \e glProgramBinary(). In the unlikely event of this being problematic, set this attribute to disable all disk-based caching of shaders. - \value AA_DisableWindowContextHelpButton Disables the WindowContextHelpButtonHint - by default on Qt::Sheet and Qt::Dialog widgets. This hides the \gui ? button - on Windows, which only makes sense if you use \l QWhatsThis functionality. - This value was added in Qt 5.10. In Qt 6, WindowContextHelpButtonHint - will not be set by default. - \value AA_DisableSessionManager Disables the QSessionManager. By default Qt will connect to a running session manager for a GUI application on supported platforms, use of a session manager may be -- cgit v1.2.3