Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannah von Reth <hannah.vonreth@owncloud.com>2020-12-18 14:48:08 +0300
committerKevin Ottens <kevin.ottens@nextcloud.com>2020-12-30 18:20:43 +0300
commit09cc988026f37f9f9a525437c418c02207f5493b (patch)
treea9a45f4410b031bd282f4632c0f56b1b3ffc5b02 /src/gui/folder.cpp
parentda3ff631efef2e6df0e91f77fffc0256874bdd87 (diff)
Fix a possible crash with the remove all files dialog
Diffstat (limited to 'src/gui/folder.cpp')
-rw-r--r--src/gui/folder.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/folder.cpp b/src/gui/folder.cpp
index 742981195..4f8c1e152 100644
--- a/src/gui/folder.cpp
+++ b/src/gui/folder.cpp
@@ -1260,6 +1260,7 @@ void Folder::slotAboutToRemoveAllFiles(SyncFileItem::Direction dir, std::functio
}
setSyncPaused(oldPaused);
});
+ connect(this, &Folder::destroyed, msgBox, &QMessageBox::deleteLater);
msgBox->open();
}