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:
authorOlivier Goffart <ogoffart@woboq.com>2015-06-26 17:58:34 +0300
committerOlivier Goffart <ogoffart@woboq.com>2015-06-26 17:58:34 +0300
commit236951d9b33c4fe899e23b20cfee2b34ee8566aa (patch)
tree97a858712e2f50a88924db6d7f503e6784ec04bc /src/gui/quotainfo.h
parente7d76461516df14dcdb2f128d5cde6ef81f545d8 (diff)
QuotaInfo: allow only one job at the same time
Diffstat (limited to 'src/gui/quotainfo.h')
-rw-r--r--src/gui/quotainfo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/quotainfo.h b/src/gui/quotainfo.h
index 583d1ed04..cfd2b312c 100644
--- a/src/gui/quotainfo.h
+++ b/src/gui/quotainfo.h
@@ -22,6 +22,7 @@
namespace OCC {
class AccountState;
+class PropfindJob;
/**
* This class handle the getting the quota to display in the UI
@@ -71,6 +72,7 @@ private:
QTimer _jobRestartTimer;
QDateTime _lastQuotaRecieved; // the time at which de quota was recieved last
bool _active; // if we should check at regular interval (when the UI is visible)
+ QPointer<PropfindJob> _job; // the currently running job
};