patch from apoapo to avoid crash in RemoteDirModel

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3786 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2010-11-13 18:02:08 +00:00
parent 7203229126
commit f6e4257442

View File

@ -740,6 +740,7 @@ Qt::ItemFlags RemoteDirModel::flags( const QModelIndex & index ) const
#endif
//modelAboutToBeReset();
// reset();
beginResetModel();
layoutAboutToBeChanged();
}
@ -752,6 +753,7 @@ Qt::ItemFlags RemoteDirModel::flags( const QModelIndex & index ) const
//modelReset();
layoutChanged();
//reset();
endResetModel();
}