mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
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:
parent
7203229126
commit
f6e4257442
@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user