aboutsummaryrefslogtreecommitdiff
path: root/lib/jobs
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2021-01-15 13:10:41 +0100
committerGitHub <noreply@github.com>2021-01-15 13:10:41 +0100
commit8d9684a4ceec239daf66ff98effe46ab70a3f6a4 (patch)
tree878a6db1895d75c89292b8278731d63fadf248e1 /lib/jobs
parentb0d3ecc774ca4aec24bceb5ec1f1ded844a7213a (diff)
parent544ec34b4563aacac6fd5b2f4aa64813096cd4b8 (diff)
downloadlibquotient-8d9684a4ceec239daf66ff98effe46ab70a3f6a4.tar.gz
libquotient-8d9684a4ceec239daf66ff98effe46ab70a3f6a4.zip
Merge pull request #417 from dfaure/dfaure/stricter-flags
Enable QT_NO_URL_CAST_FROM_STRING and QT_STRICT_ITERATORS.
Diffstat (limited to 'lib/jobs')
-rw-r--r--lib/jobs/basejob.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/jobs/basejob.cpp b/lib/jobs/basejob.cpp
index ada7337b..a0c88581 100644
--- a/lib/jobs/basejob.cpp
+++ b/lib/jobs/basejob.cpp
@@ -532,7 +532,7 @@ BaseJob::Status BaseJob::prepareError()
}
if (errCode == "M_CONSENT_NOT_GIVEN") {
- d->errorUrl = errorJson.value("consent_uri"_ls).toString();
+ d->errorUrl = QUrl(errorJson.value("consent_uri"_ls).toString());
return { UserConsentRequiredError };
}
if (errCode == "M_UNSUPPORTED_ROOM_VERSION"