mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-10 01:55:19 -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
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue