Skip to content
This repository was archived by the owner on Mar 20, 2025. It is now read-only.

Commit 17c38c7

Browse files
committed
Call: Use new connect syntax
1 parent 7110ca2 commit 17c38c7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/client/QXmppCall.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,9 @@ void QXmppCallPrivate::handleRequest(const QXmppJingleIq &iq)
322322
} else if (iq.action() == QXmppJingleIq::SessionInfo) {
323323

324324
// notify user
325-
QTimer::singleShot(0, q, SIGNAL(ringing()));
325+
QTimer::singleShot(0, q, [this]() {
326+
Q_EMIT q->ringing();
327+
});
326328

327329
} else if (iq.action() == QXmppJingleIq::SessionTerminate) {
328330

0 commit comments

Comments
 (0)