diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-01-14 00:01:38 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-01-14 00:01:38 +0900 |
commit | f5b4c73ee571121f7b7505f03d9b1da7036aff32 (patch) | |
tree | eb22b75823ef409285bb6e9d788c3e5ce10c8898 /jobs/basejob.h | |
parent | a671d1aeff6bc9c01aa4204e0c05da894c72b603 (diff) | |
parent | f8f7fb7a00e5100881e347f18e96a5b1a8f56227 (diff) | |
download | libquotient-f5b4c73ee571121f7b7505f03d9b1da7036aff32.tar.gz libquotient-f5b4c73ee571121f7b7505f03d9b1da7036aff32.zip |
Merge branch 'master' into kitsune-content-repo-create-room
Diffstat (limited to 'jobs/basejob.h')
-rw-r--r-- | jobs/basejob.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/jobs/basejob.h b/jobs/basejob.h index 1fe3a24d..42f5ecc2 100644 --- a/jobs/basejob.h +++ b/jobs/basejob.h @@ -44,7 +44,7 @@ namespace QMatrixClient class BaseJob: public QObject { Q_OBJECT - Q_PROPERTY(size_t maxRetries READ maxRetries WRITE setMaxRetries) + Q_PROPERTY(int maxRetries READ maxRetries WRITE setMaxRetries) public: /* Just in case, the values are compatible with KJob * (which BaseJob used to inherit from). */ @@ -139,8 +139,8 @@ namespace QMatrixClient int error() const; virtual QString errorString() const; - size_t maxRetries() const; - void setMaxRetries(size_t newMaxRetries); + int maxRetries() const; + void setMaxRetries(int newMaxRetries); Q_INVOKABLE duration_t getCurrentTimeout() const; Q_INVOKABLE duration_t getNextRetryInterval() const; |