Details
-
Bug
-
Resolution: Unresolved
-
P4: Low
-
None
-
5.2.1
-
None
Description
When QAbstractListModel-based model is used for ListView, calling QAbstractListModel::endRemoveRows() does not immeidately trigger delegate removal from ListView.
In my case model contains QObjects and calling QObject::deleteLater() after QAbstractListModel::endRemoveRows() leads to the object deleted before a delegate. The result is that delegate has broken bindings for a short period.
A simple test application is attached.