summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/netcom.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/netcom.cc b/client/netcom.cc
index 18af92e..f71876a 100644
--- a/client/netcom.cc
+++ b/client/netcom.cc
@@ -76,7 +76,7 @@ QDomDocument NetCom::send(QString course, QString macro)
// socket.waitForReadyRead();
do {
- qApp->processEvents();
+ qApp->processEvents(QEventLoop::WaitForMoreEvents);
} while(!res_doc.setContent(buffer));
buffer = "";
@@ -145,7 +145,7 @@ void NetCom::send(QVector< Widget* > widgets, QString macro, QString version)
// Wait for the (hopefully) empty answer.
//
do {
- qApp->processEvents();
+ qApp->processEvents(QEventLoop::WaitForMoreEvents);
} while(!res_doc.setContent(buffer));
buffer = "";