diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2019-12-12 19:37:09 +0300 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2019-12-12 19:37:09 +0300 |
commit | ec3ddd6930991b04d13cdb12720f141482f9a6eb (patch) | |
tree | ef2885c4bb8391c7b631fd21f882dbdb695f1add | |
parent | eabed200f5fe09a37942a52387c0d3f25070b0c3 (diff) | |
download | libquotient-ec3ddd6930991b04d13cdb12720f141482f9a6eb.tar.gz libquotient-ec3ddd6930991b04d13cdb12720f141482f9a6eb.zip |
Move FileError definition from DownloadFileJob to BaseJob
Will use it in BaseJob in a later commit.
-rw-r--r-- | lib/jobs/basejob.h | 1 | ||||
-rw-r--r-- | lib/jobs/downloadfilejob.h | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/lib/jobs/basejob.h b/lib/jobs/basejob.h index b4c4c136..e708ba8d 100644 --- a/lib/jobs/basejob.h +++ b/lib/jobs/basejob.h @@ -82,6 +82,7 @@ public: UserConsentRequiredError = UserConsentRequired, CannotLeaveRoom, UserDeactivated, + FileError, UserDefinedError = 256 }; Q_ENUM(StatusCode) diff --git a/lib/jobs/downloadfilejob.h b/lib/jobs/downloadfilejob.h index b7d2d75b..06dc145c 100644 --- a/lib/jobs/downloadfilejob.h +++ b/lib/jobs/downloadfilejob.h @@ -5,8 +5,6 @@ namespace Quotient { class DownloadFileJob : public GetContentJob { public: - enum { FileError = BaseJob::UserDefinedError + 1 }; - using GetContentJob::makeRequestUrl; static QUrl makeRequestUrl(QUrl baseUrl, const QUrl& mxcUri); |