qtdeclarative/examples/quick/quickwidgets/quickwidget
Shawn Rutledge fadb14a8d9 Avoid crashing in the quickwidgets example after closing the subwindow
Closing the window deletes m_quickWidget; so we disable the menu items
for grabbing from it, because those cannot work. Also add asserts.

Fixes: QTBUG-120296
Pick-to: 6.2 5.15
Change-Id: I68154c2d1e4553c771815e29cbe3b095d85893f1
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
(cherry picked from commit f719ee6408)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit a49d309b4a)
(cherry picked from commit 08c01f6259)
2024-01-07 12:30:27 +00:00
..
doc Doc: Add example categories for qtquick 2023-09-28 15:50:06 +02:00
CMakeLists.txt Examples: Use versioned CMake targets for Qt modules 2023-05-03 12:32:40 +02:00
main.cpp Avoid crashing in the quickwidgets example after closing the subwindow 2024-01-07 12:30:27 +00:00
quickwidget.pro Make QQuickWidget QRhi-based 2022-03-18 22:56:54 +01:00
quickwidget.qrc Make QQuickWidget QRhi-based 2022-03-18 22:56:54 +01:00
rotatingsquare.qml Examples: Do not use import version numbers anymore 2022-08-31 16:37:35 +02:00