fixed erroneous call to qbytearray

This commit is contained in:
itsmattkc
2021-03-21 01:15:39 +11:00
parent 43318647ac
commit ac39c6a461
+1 -1
View File
@@ -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