diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2019-04-04 21:27:38 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2019-04-06 20:32:48 +0900 |
commit | 432e7fd7107d8260e0016a1adcd8d94263dc1044 (patch) | |
tree | 71171a541e508f7a97b1d843c707c7ef296374cb /lib/jobs/downloadfilejob.cpp | |
parent | 8035ec464ce797abab5e464c2cfb485f7fa14d06 (diff) | |
download | libquotient-432e7fd7107d8260e0016a1adcd8d94263dc1044.tar.gz libquotient-432e7fd7107d8260e0016a1adcd8d94263dc1044.zip |
Clean up on clang-tidy/clazy analysis
Diffstat (limited to 'lib/jobs/downloadfilejob.cpp')
-rw-r--r-- | lib/jobs/downloadfilejob.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/jobs/downloadfilejob.cpp b/lib/jobs/downloadfilejob.cpp index 2bf9dd8f..672a7b2d 100644 --- a/lib/jobs/downloadfilejob.cpp +++ b/lib/jobs/downloadfilejob.cpp @@ -22,7 +22,8 @@ class DownloadFileJob::Private QUrl DownloadFileJob::makeRequestUrl(QUrl baseUrl, const QUrl& mxcUri) { - return makeRequestUrl(baseUrl, mxcUri.authority(), mxcUri.path().mid(1)); + return makeRequestUrl( + std::move(baseUrl), mxcUri.authority(), mxcUri.path().mid(1)); } DownloadFileJob::DownloadFileJob(const QString& serverName, @@ -31,7 +32,7 @@ DownloadFileJob::DownloadFileJob(const QString& serverName, : GetContentJob(serverName, mediaId) , d(localFilename.isEmpty() ? new Private : new Private(localFilename)) { - setObjectName("DownloadFileJob"); + setObjectName(QStringLiteral("DownloadFileJob")); } QString DownloadFileJob::targetFileName() const |