RetroShare/retroshare-gui
Phenom 24ab1d6929 Fix for running with Self-Built Qt
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().
2021-01-19 14:25:35 +01:00
..
src Fix for running with Self-Built Qt 2021-01-19 14:25:35 +01:00