mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-23 13:35:58 +03:00
Fix crash when clicking on folder with status 403 in the main dialog.
LsColJob was still being used after delete was called. Signed-off-by: Camila San <hello@camila.codes>
This commit is contained in:
parent
671ca522ea
commit
03b1c0b84a
1 changed files with 1 additions and 1 deletions
|
@ -1241,7 +1241,7 @@ bool FolderStatusModel::SubFolderInfo::hasLabel() const
|
|||
void FolderStatusModel::SubFolderInfo::resetSubs(FolderStatusModel *model, QModelIndex index)
|
||||
{
|
||||
_fetched = false;
|
||||
delete _fetchingJob;
|
||||
_fetchingJob->deleteLater();
|
||||
if (hasLabel()) {
|
||||
model->beginRemoveRows(index, 0, 0);
|
||||
_fetchingLabel = false;
|
||||
|
|
Loading…
Reference in a new issue