Details
-
Bug
-
Resolution: Unresolved
-
P1: Critical
-
None
-
6.9
-
None
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
Gerrit Reviews
For Gerrit Dashboard: QTBUG-136672 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
645114,5 | ComboBox: fix crash when setting model | dev | qt/qtdeclarative | Status: INTEGRATING | +2 | 0 |