qt6-bb10/src
Timur Pocheptsov 2d59f2e8ca QMessageBox: Fall back to non-native dialog if button has menu
There's no plumbing in QMessageDialogOptions for supporting
native dialog buttons with menus, and even if there was such
plumbing, we don't know if our native dialogs could support
them.

As a workaround, detect the situation and automatically fall
back to the non-native dialog, so the user doesn't need to
set Qt::AA_DontUseNativeDialogs explicitly.

Fixes: QTBUG-118419
Change-Id: Iece7012909261b8869ce0ca23e45e8daaf4babc7
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2023-10-24 22:10:43 +02:00
..
3rdparty Modify copyright format in qt_attribution.json 2023-10-23 17:42:45 +00:00
android Android: remove unneeded allowNativeHeapPointerTagging manifest flag 2023-10-20 18:46:29 +03:00
assets Add XDG theme file for example icons 2023-06-26 17:32:10 +00:00
concurrent Doc: Fix warnings and linking issues 2023-10-09 17:24:07 +00:00
corelib qcore_unix: port qt_safe_poll to QDeadlineTimer 2023-10-24 18:29:45 +03:00
dbus QtDBus: Use explicitly meta type name instead of method type 2023-10-23 21:58:23 +02:00
entrypoint src: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-10 23:36:51 +01:00
gui Modify copyright format in qt_attribution.json 2023-10-23 17:42:45 +00:00
network qcore_unix: port qt_safe_poll to QDeadlineTimer 2023-10-24 18:29:45 +03:00
opengl Include what you need: <QPointer> 2023-10-12 21:38:54 +02:00
openglwidgets QOpenGLWidget: Call glClear in the default paintGL implementation 2023-09-04 11:46:29 +02:00
platformsupport Include what you need: <QPointer> 2023-10-12 21:38:54 +02:00
plugins Android: Fix for hiding cursor handles 2023-10-24 17:52:06 +00:00
printsupport Include what you need: <QPointer> 2023-10-12 21:38:54 +02:00
sql QSqlDatabase: check if QCoreApplication::instance() exists 2023-10-12 06:16:46 +02:00
testlib Modify copyright format in qt_attribution.json 2023-10-23 17:42:45 +00:00
tools androiddeployqt: Copy templates and stdcpp lib in auxillary mode 2023-10-19 16:32:11 +03:00
widgets QMessageBox: Fall back to non-native dialog if button has menu 2023-10-24 22:10:43 +02:00
xml Doc: Fix warnings and linking issues 2023-10-09 17:24:07 +00:00
CMakeLists.txt Add Qt icon library for examples 2023-04-22 18:14:38 +03:00