mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 19:30:21 +02:00
Make a queued connection independent of the qt version
This commit is contained in:
@@ -144,7 +144,7 @@ CrashReporter::send()
|
||||
connect( m_reply, SIGNAL( finished() ), SLOT( onDone() ), Qt::QueuedConnection );
|
||||
connect( m_reply, SIGNAL( uploadProgress( qint64, qint64 ) ), SLOT( onProgress( qint64, qint64 ) ) );
|
||||
#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 );
|
||||
#endif
|
||||
}
|
||||
|
Reference in New Issue
Block a user