qt5base-lts/src
Yuhang Zhao 7261c81152 Windows QPA: fix window style correction for context help button
According to Microsoft Docs [1][2], WS_MINIMIZEBOX and WS_MAXIMIZEBOX
must be accompanied by the WS_SYSMENU style, and the WS_EX_CONTEXTHELP
style is not compatible with WS_MINIMIZEBOX and WS_MAXIMIZEBOX. This
patch adds additional checks for these situations.

[1] https://docs.microsoft.com/en-us/windows/win32/winmsg/window-styles
[2] https://docs.microsoft.com/en-us/windows/win32/winmsg/extended-window-styles

Pick-to: 6.3 6.2
Change-Id: If32f8b42e25cfc67ffd1e84cc4b061f21a01042a
Reviewed-by: André de la Rocha <andre.rocha@qt.io>
2022-03-01 12:29:36 +08:00
..
3rdparty Network: Use public suffix database in DAFSA format 2022-02-24 19:36:26 +01:00
android Android A11Y: handle valueChanged events 2022-02-15 17:51:33 +01:00
concurrent Do not highlight the Image Scaling Example anymore in Qt Creator 2022-02-17 18:16:42 +01:00
corelib QFlags: fix missing bitwise xor operators in QT_TYPESAFE_FLAGS builds 2022-02-28 23:09:31 +01:00
dbus CMake: Document source file properties 2022-02-15 15:44:51 +01:00
entrypoint QtBase: replace windows.h with qt_windows.h 2021-11-23 12:53:46 +08:00
gui QTextFormat: remove unnecessary namespace-scope stream op declarations 2022-02-24 15:45:53 -08:00
network CMake: Rename FindZSTD to FindWrapZSTD 2022-02-28 23:08:20 +01:00
opengl Make sure all qtbase private headers include at least one other 2022-02-24 12:07:00 -08:00
openglwidgets Migrate to autogenerated cpp exports 2021-06-25 19:33:12 +02:00
platformsupport Make sure all qtbase private headers include at least one other 2022-02-24 12:07:00 -08:00
plugins Windows QPA: fix window style correction for context help button 2022-03-01 12:29:36 +08:00
printsupport Fix assert showing default-constructed QPrintPreviewDialog 2022-02-28 12:39:54 +01:00
sql Treat invalid Q(Date)?Time as null when used as an SQL value 2022-02-21 20:37:28 +01:00
testlib Make sure all qtbase private headers include at least one other 2022-02-24 12:07:00 -08:00
tools CMake: Rename FindZSTD to FindWrapZSTD 2022-02-28 23:08:20 +01:00
widgets QLabel: remove some dynamic allocations 2022-03-01 01:55:08 +01:00
xml Make sure all qtbase private headers include at least one other 2022-02-24 12:07:00 -08:00
CMakeLists.txt