1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-07-30 19:00:12 +02:00

* This should fix the CrashReporter crashing (*cough*) when not sending the report.

This commit is contained in:
Christian Muehlhaeuser
2013-09-06 13:36:16 +02:00
parent dcc4ed6683
commit 4bc5b8cc98

View File

@@ -31,7 +31,8 @@
CrashReporter::CrashReporter( const QUrl& url, const QStringList& args )
: m_url( url )
: m_reply( 0 )
, m_url( url )
{
setWindowIcon( QIcon( RESPATH "icons/tomahawk-icon-128x128.png" ) );
@@ -136,7 +137,6 @@ CrashReporter::send()
body += "\r\n";
body += "--thkboundary--\r\n";
QNetworkAccessManager* nam = new QNetworkAccessManager( this );
m_request->setHeader( QNetworkRequest::ContentTypeHeader, "multipart/form-data; boundary=thkboundary" );
m_reply = nam->post( *m_request, body );