From f8339081a78d50d95bf6bdcac1ca669da34baefd Mon Sep 17 00:00:00 2001 From: "Uwe L. Korn" Date: Fri, 23 Aug 2013 10:10:41 +0200 Subject: [PATCH] Make a queued connection independent of the qt version --- src/crashreporter/CrashReporter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crashreporter/CrashReporter.cpp b/src/crashreporter/CrashReporter.cpp index 338900e7f..252e89c4e 100644 --- a/src/crashreporter/CrashReporter.cpp +++ b/src/crashreporter/CrashReporter.cpp @@ -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 }