Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Not Evaluated
-
Resolution: Duplicate
-
Affects Version/s: 5.11.0
-
Fix Version/s: None
-
Component/s: Core: Item Models
-
Labels:None
-
Platform/s:
Description
auto oldModel = new QStandardItemModel(10, 10); auto newModel = new QStandardItemModel(20, 20); auto proxy = new QSortFilterProxyModel; proxy->setSourceModel(oldModel); QCOMPARE(proxy->rowCount(), 10); proxy->setSourceModel(newModel); QCOMPARE(proxy->rowCount(), 20); delete oldModel; QCOMPARE(proxy->rowCount(), 20);
last rowCount returns 0
Attachments
Issue Links
- duplicates
-
QTBUG-68427 Segfault in subsurface
-
- Closed
-
-
QTBUG-67948 Crash in QSortFilterProxyModel
-
- Closed
-
-
QTBUG-44962 Persistent child indexes refer to incorrect model when source model changed
-
- Closed
-