+ //remove all rows
+ qDebug() << "beginRemoveRows: " << 0 << ", " << rowCount(QModelIndex()) - 1;
+ beginRemoveRows(QModelIndex(),
+ 0,
+ m_lastRowCount);
+ endRemoveRows();
+
+ //add rows
+ qDebug() << "beginInsertRows: " << 0 << ", " << m_backend->matchList().count() - 1;