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:
@@ -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
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user