aboutsummaryrefslogtreecommitdiff
path: root/src/client/QXmppRemoteMethod.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/QXmppRemoteMethod.cpp')
-rw-r--r--src/client/QXmppRemoteMethod.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/QXmppRemoteMethod.cpp b/src/client/QXmppRemoteMethod.cpp
index 2f300cc8..da3b97f6 100644
--- a/src/client/QXmppRemoteMethod.cpp
+++ b/src/client/QXmppRemoteMethod.cpp
@@ -43,8 +43,8 @@ QXmppRemoteMethodResult QXmppRemoteMethod::call( )
// FIXME : spinning an event loop is a VERY bad idea, it can cause
// us to lose incoming packets
QEventLoop loop(this);
- connect( this, SIGNAL(callDone()), &loop, SLOT(quit()));
- QTimer::singleShot(30000,&loop, SLOT(quit())); // Timeout in case the other end hangs...
+ connect( this, &QXmppRemoteMethod::callDone, &loop, &QEventLoop::quit);
+ QTimer::singleShot(30000,&loop, &QEventLoop::quit); // Timeout in case the other end hangs...
m_client->sendPacket( m_payload );