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

github.com/owncloud/client.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-10-15 17:05:51 +0300
committerHannah von Reth <vonreth@kde.org>2020-10-21 16:22:12 +0300
commit7cb2e40edc969e870563490365dfdd0cfd16a805 (patch)
treebce8669312855065769fe09129227524785d4444 /src/gui/folder.h
parentf4a8592efe3996f40d0a5e6a276ae7bbd9f3e23e (diff)
Don`t block main thread when displaying all files removed dialog
Fixes: #8170
Diffstat (limited to 'src/gui/folder.h')
-rw-r--r--src/gui/folder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/folder.h b/src/gui/folder.h
index 1fca6b002..60c78d6c8 100644
--- a/src/gui/folder.h
+++ b/src/gui/folder.h
@@ -317,7 +317,7 @@ public slots:
void slotTerminateSync();
// connected to the corresponding signals in the SyncEngine
- void slotAboutToRemoveAllFiles(SyncFileItem::Direction, bool *);
+ void slotAboutToRemoveAllFiles(SyncFileItem::Direction, std::function<void(bool)> callback);
/**
* Starts a sync operation