From 94b83831fab43b5f4a4695d16d2b3329c53c8be1 Mon Sep 17 00:00:00 2001 From: Hannah von Reth Date: Wed, 30 Aug 2023 16:02:33 +0200 Subject: [PATCH] Format HttpReasonPhraseAttribute as string --- src/libsync/propagateupload.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/libsync/propagateupload.cpp b/src/libsync/propagateupload.cpp index 7921d1dddca..1386b74ea30 100644 --- a/src/libsync/propagateupload.cpp +++ b/src/libsync/propagateupload.cpp @@ -96,10 +96,9 @@ void PUTFileJob::finished() { _device->close(); - qCInfo(lcPutJob) << "PUT of" << reply()->request().url().toString() << "FINISHED WITH STATUS" - << replyStatusString() + qCInfo(lcPutJob) << "PUT of" << reply()->request().url().toString() << "FINISHED WITH STATUS" << replyStatusString() << reply()->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt() - << reply()->attribute(QNetworkRequest::HttpReasonPhraseAttribute); + << reply()->attribute(QNetworkRequest::HttpReasonPhraseAttribute).toString(); } void PUTFileJob::newReplyHook(QNetworkReply *reply)