1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-01 11:50:37 +02:00

Make a queued connection independent of the qt version

This commit is contained in:
Uwe L. Korn
2013-08-23 10:10:41 +02:00
parent 70e8b67b96
commit f8339081a7

View File

@@ -144,7 +144,7 @@ CrashReporter::send()
connect( m_reply, SIGNAL( finished() ), SLOT( onDone() ), Qt::QueuedConnection ); connect( m_reply, SIGNAL( finished() ), SLOT( onDone() ), Qt::QueuedConnection );
connect( m_reply, SIGNAL( uploadProgress( qint64, qint64 ) ), SLOT( onProgress( qint64, qint64 ) ) ); connect( m_reply, SIGNAL( uploadProgress( qint64, qint64 ) ), SLOT( onProgress( qint64, qint64 ) ) );
#else #else
connect( m_reply, &QNetworkReply::finished, this, &CrashReporter::onDone ); connect( m_reply, &QNetworkReply::finished, this, &CrashReporter::onDone, Qt::QueuedConnection );
connect( m_reply, &QNetworkReply::uploadProgress, this, &CrashReporter::onProgress ); connect( m_reply, &QNetworkReply::uploadProgress, this, &CrashReporter::onProgress );
#endif #endif
} }