diff options
author | Martin Jones <martin.jones@nokia.com> | 2009-05-06 05:10:56 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-07-31 02:00:46 (GMT) |
commit | 33e475e2f39b26327c60a52bc02ad50500ad7cbe (patch) | |
tree | 0cca3ee8290dd58b5cc5db91eb50ebf95ab68a6f /src/xmlpatterns | |
parent | 8fca9052e72d1dc983443c3a8065f804bebf77e7 (diff) | |
download | Qt-33e475e2f39b26327c60a52bc02ad50500ad7cbe.zip Qt-33e475e2f39b26327c60a52bc02ad50500ad7cbe.tar.gz Qt-33e475e2f39b26327c60a52bc02ad50500ad7cbe.tar.bz2 |
Don't process input events while waiting for network response.
(cherry picked from commit 4b84041c072325bd09bb7177d121330048133103)
Reviewed-by: mbm
Diffstat (limited to 'src/xmlpatterns')
-rw-r--r-- | src/xmlpatterns/acceltree/qacceltreeresourceloader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmlpatterns/acceltree/qacceltreeresourceloader.cpp b/src/xmlpatterns/acceltree/qacceltreeresourceloader.cpp index 1cd84db..8019551 100644 --- a/src/xmlpatterns/acceltree/qacceltreeresourceloader.cpp +++ b/src/xmlpatterns/acceltree/qacceltreeresourceloader.cpp @@ -125,7 +125,7 @@ QNetworkReply *AccelTreeResourceLoader::load(const QUrl &uri, networkLoop.connect(reply, SIGNAL(error(QNetworkReply::NetworkError)), SLOT(error(QNetworkReply::NetworkError))); networkLoop.connect(reply, SIGNAL(finished()), SLOT(finished())); - if(networkLoop.exec()) + if(networkLoop.exec(QEventLoop::ExcludeUserInputEvents)) { const QString errorMessage(escape(reply->errorString())); |