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:
authorErik Verbruggen <erik@verbruggen.consulting>2021-10-07 21:24:21 +0300
committerHannah von Reth <vonreth@kde.org>2021-10-27 15:30:39 +0300
commit530560862bc51203c957d5afed2c33e6ff3b8eb3 (patch)
tree92c2dffd4ef7cc70e27a98a94ac6a06584fef325 /src/gui/folderwatcher_win.h
parentd5750e36a71f70d67e97154de1394e2c22fcb6fe (diff)
Make _ready member field private or constexpr
Make _ready constexpr on macOS and Linux, so it doesnt' use any space. On Windows it's now private.
Diffstat (limited to 'src/gui/folderwatcher_win.h')
-rw-r--r--src/gui/folderwatcher_win.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/folderwatcher_win.h b/src/gui/folderwatcher_win.h
index d72665f06..0d5c78f65 100644
--- a/src/gui/folderwatcher_win.h
+++ b/src/gui/folderwatcher_win.h
@@ -76,11 +76,15 @@ public:
~FolderWatcherPrivate();
/// Set to non-zero once the WatcherThread is capturing events.
- QAtomicInt _ready;
+ bool isReady() const
+ {
+ return _ready;
+ }
private:
FolderWatcher *_parent;
WatcherThread *_thread;
+ QAtomicInt _ready;
};
}