summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordeva <deva>2010-05-31 09:42:25 +0000
committerdeva <deva>2010-05-31 09:42:25 +0000
commit1a539d7443208df9ea25f711336aeea216a21de9 (patch)
treee330fbc886202fa098f07464ec1fa9cb5549d646
parent6c1a6da848075c2978116de68a43719db4c46c86 (diff)
Fix hang bug in netcom
-rw-r--r--client/netcom.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/netcom.cc b/client/netcom.cc
index 918b8e7..97f9ee1 100644
--- a/client/netcom.cc
+++ b/client/netcom.cc
@@ -99,7 +99,7 @@ QDomDocument NetCom::makeTransfer(QDomDocument &doc,
QNetworkReply *reply = manager->post(request, doc.toByteArray());
finished[reply] = false;
while(finished[reply] == false) {
- qApp->processEvents(QEventLoop::WaitForMoreEvents);
+ qApp->processEvents(QEventLoop::WaitForMoreEvents, 100);
}
finished.remove(reply);