From ac39c6a461710ad5994b0aec50a5343aacabed76 Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Sun, 21 Mar 2021 01:15:39 +1100 Subject: [PATCH] fixed erroneous call to qbytearray --- app/dialog/crashhandler/crashhandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/dialog/crashhandler/crashhandler.cpp b/app/dialog/crashhandler/crashhandler.cpp index 7be8dfa62..6b3ccdf55 100644 --- a/app/dialog/crashhandler/crashhandler.cpp +++ b/app/dialog/crashhandler/crashhandler.cpp @@ -197,7 +197,7 @@ void CrashHandlerDialog::SendErrorReport() QHttpPart report_part; report_part.setHeader(QNetworkRequest::ContentTypeHeader, QStringLiteral("text/plain")); report_part.setHeader(QNetworkRequest::ContentDispositionHeader, QStringLiteral("form-data; name=\"report\"")); - report_part.setBody(report_data_.toUtf8()); + report_part.setBody(report_data_); multipart->append(report_part); // Create commit section