Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.9.0
-
None
-
db6f1440cbe78018e442c1fb961310a4e619e8fe
Description
I have a QStandardItemModel that has text and another QStandardItemModel, both have CPP ownership, besides I have code like:
ScrollView {
ListView {
model: devices
delegate: ItemDelegate {
text; roleText
onClicked: connectionsView.model = roleModel
}
}
}ScrollView {
ListView {
id: connectionsView
}
}
The first click works fine, the second crashes the application, removing the surrounding ScrollView of connectionsView, it works as expected,
The backtrace I got is not of much use, my app is a debug build but it seems Qt is not, I'm using precompiled Qt binaries on Linux.