Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
None
-
6.9
-
None
-
be034ebd5 (dev)
Description
QQuickComboBox::setModel() does an unguarded qvariant_cast on the previous value.
This will crash if you delete the previous model, then subsequently call setModel(newModel).
See https://codebrowser.dev/qt6/qtdeclarative/src/quicktemplates/qquickcombobox.cpp.html#1021
This may be related to https://bugreports.qt.io/browse/QDS-5030
Attachments
For Gerrit Dashboard: QTBUG-136672 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
645114,6 | ComboBox: fix crash when setting model | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
645605,2 | ComboBox: fix crash when setting model | 6.9 | qt/qtdeclarative | Status: STAGED | +2 | 0 |