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>2016-03-17 17:33:37 +0300
committerChristian Kamm <mail@ckamm.de>2016-03-18 15:34:49 +0300
commitff4cdc3161ddbb74a0fe10f969043ff898fbb93a (patch)
tree3d80866d170ac29547e8d5a1ba10c95408ea7de7 /src/gui/quotainfo.h
parent0febe9b0df23f90eb96a6d7c1c207fd1f9ff812d (diff)
Quota: Change quota path if single folder #4460
Since the quota is a per-folder value, this will make the displayed data more useful when a single sync folder is configured. Of course each subfolder could have a different quota again.
Diffstat (limited to 'src/gui/quotainfo.h')
-rw-r--r--src/gui/quotainfo.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/quotainfo.h b/src/gui/quotainfo.h
index b9ada1a2c..480fe7841 100644
--- a/src/gui/quotainfo.h
+++ b/src/gui/quotainfo.h
@@ -71,6 +71,9 @@ Q_SIGNALS:
private:
bool canGetQuota() const;
+ /// Returns the folder that quota shall be retrieved for
+ QString quotaBaseFolder() const;
+
QPointer<AccountState> _accountState;
qint64 _lastQuotaTotalBytes;
qint64 _lastQuotaUsedBytes;