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:
authorChristian Kamm <mail@ckamm.de>2019-07-11 14:31:54 +0300
committerChristian Kamm <mail@ckamm.de>2019-07-12 13:22:50 +0300
commit0277b2e478cc3dfa63f69b254566ac911b8f2024 (patch)
tree0774ab41a8ed97972d14af1727f5b9e5fb25dc1f /src/gui/folderwatcher_linux.h
parent7a699213b9abd68af2586ab01b9bfec3c8b85211 (diff)
FolderWatcher: Wait for ready before testing #7305
Diffstat (limited to 'src/gui/folderwatcher_linux.h')
-rw-r--r--src/gui/folderwatcher_linux.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/folderwatcher_linux.h b/src/gui/folderwatcher_linux.h
index ce72b522f..413ad7d37 100644
--- a/src/gui/folderwatcher_linux.h
+++ b/src/gui/folderwatcher_linux.h
@@ -41,6 +41,9 @@ public:
int testWatchCount() const { return _pathToWatch.size(); }
+ /// On linux the watcher is ready when the ctor finished.
+ bool _ready = 1;
+
protected slots:
void slotReceivedNotification(int fd);
void slotAddFolderRecursive(const QString &path);