mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-28 17:09:34 -05:00
24ab1d6929
beginRemoveRows(QModelIndex(),0,-1); Failed because: void QAbstractItemModel::beginRemoveRows(const QModelIndex &parent, int first, int last) { Q_ASSERT(first >= 0); Q_ASSERT(last >= first); Q_ASSERT(last < rowCount(parent)); Last assert is important too. So prefer use beginResetModel(). |
||
---|---|---|
.. | ||
src |