diff options
author | Christian Kamm <mail@ckamm.de> | 2019-07-11 14:31:54 +0300 |
---|---|---|
committer | Christian Kamm <mail@ckamm.de> | 2019-07-12 13:22:50 +0300 |
commit | 0277b2e478cc3dfa63f69b254566ac911b8f2024 (patch) | |
tree | 0774ab41a8ed97972d14af1727f5b9e5fb25dc1f /src/gui/folderwatcher_mac.h | |
parent | 7a699213b9abd68af2586ab01b9bfec3c8b85211 (diff) |
FolderWatcher: Wait for ready before testing #7305
Diffstat (limited to 'src/gui/folderwatcher_mac.h')
-rw-r--r-- | src/gui/folderwatcher_mac.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/folderwatcher_mac.h b/src/gui/folderwatcher_mac.h index c2673c4f5..6b9a35cad 100644 --- a/src/gui/folderwatcher_mac.h +++ b/src/gui/folderwatcher_mac.h @@ -36,6 +36,9 @@ public: void startWatching(); void doNotifyParent(const QStringList &); + /// On OSX the watcher is ready when the ctor finished. + bool _ready = 1; + private: FolderWatcher *_parent; |