commented out beginInsertRows()/endInsertRows() which may use the wrong number of rows and is not needed because of the beginResetModel()/endResetModel() around

This commit is contained in:
csoler 2025-12-20 22:44:56 +01:00
parent 2487d79920
commit f9d71e9792

View file

@ -1401,11 +1401,11 @@ void RsFriendListModel::updateInternalData()
mTopLevel = TL;
if (TL.size()>0)
{
beginInsertRows(QModelIndex(),0,TL.size()-1);
endInsertRows();
}
// if (TL.size()>0)
// {
// beginInsertRows(QModelIndex(),0,TL.size()-1);
// endInsertRows();
// }
endResetModel();
postMods();