diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2016-07-22 18:09:44 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2016-07-22 18:09:44 +0900 |
commit | 60e83eee94bbf31ebb5151232c750c88e589c3d7 (patch) | |
tree | 0c32d4e3135ccde10d9ad1f6e4b38fe09b01535f /events | |
parent | e1e83e825dea1891740bd22c117d95d663fbcb50 (diff) | |
download | libquotient-60e83eee94bbf31ebb5151232c750c88e589c3d7.tar.gz libquotient-60e83eee94bbf31ebb5151232c750c88e589c3d7.zip |
Separate errors of access denial kind to a different BaseJob error code as well + stability fixes
1. Introduce ContentAccessDenied error code to BaseJob to allow clients to treat access denial errors differently from other network errors.
2. Since parseJson() overrides are responsible for calling emitResult(), the "default" BaseJob::parseJson() should call emitResult() as well.
3. Make sure BaseJob::fail() doesn't crash in absence of QNetworkReply.
Diffstat (limited to 'events')
0 files changed, 0 insertions, 0 deletions