QSortFilterProxyModel unknown Q_ASSERT 'cm' message



  • I have a model(lets call it base model) on which various QSortFilterProxyModel are connected.
    In the base model (hierarchial) I call beginRemoveRows and endRemoveRows(). This leads to a Q_ASSERT message from QSortFilterProxyModel as:
    ASSERT: "cm" in file itemviews/qsortfilterproxymodel.cpp line 935.
    Now, it seems like a bug. But it is terrible in reproduction. It only happens some times. And I don't get any documentation for this assert. Can anyone tell me what this error signifies?



  • It is a bug. "Remove on source Model":https://bugreports.qt-project.org/browse/QTBUG-27289
    I have created one. But didn't had time to write a minimum working code to recreate it :(


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.