mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-28 19:01:36 -05:00

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().