mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-12-26 05:35:13 -05:00
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:
parent
2487d79920
commit
f9d71e9792
1 changed files with 5 additions and 5 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue