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>2022-03-15 14:12:03 +0300
committerHannah von Reth <hannah.vonreth@owncloud.com>2022-03-15 14:12:03 +0300
commitfd95b7a4de7fd3e0d091d1a72bbfe1eee255205a (patch)
treef47d3616cfec439db5ee19d7ad8336a24c19f713 /src/gui/folder.h
parent0dd2065bd8fff67f30521f67c37af1fc2f1fb861 (diff)
parentb35eec30325eb9933339e02e66640ca2082ade35 (diff)
Merge remote-tracking branch 'origin/2.10'
Diffstat (limited to 'src/gui/folder.h')
-rw-r--r--src/gui/folder.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/folder.h b/src/gui/folder.h
index da964dd1d..2d9f14413 100644
--- a/src/gui/folder.h
+++ b/src/gui/folder.h
@@ -214,6 +214,11 @@ public:
*/
bool isReady() const;
+ bool hasSetupError() const
+ {
+ return _syncResult.status() == SyncResult::SetupError;
+ }
+
/**
* Returns true if the folder needs sync poll interval wise, and can
* sync due to its internal state