From 1a539d7443208df9ea25f711336aeea216a21de9 Mon Sep 17 00:00:00 2001 From: deva Date: Mon, 31 May 2010 09:42:25 +0000 Subject: Fix hang bug in netcom --- client/netcom.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client') 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); -- cgit v1.2.3