aboutsummaryrefslogtreecommitdiffstats
path: root/examples/echoclient/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/echoclient/main.cpp')
-rw-r--r--examples/echoclient/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/echoclient/main.cpp b/examples/echoclient/main.cpp
index a13097d..e6a3a5d 100644
--- a/examples/echoclient/main.cpp
+++ b/examples/echoclient/main.cpp
@@ -45,7 +45,7 @@ int main(int argc, char *argv[])
{
QCoreApplication a(argc, argv);
EchoClient client(QUrl("ws://localhost:1234"));
- QObject::connect(&client, SIGNAL(closed()), &a, SLOT(quit()));
+ QObject::connect(&client, &EchoClient::closed, &a, &QCoreApplication::quit);
Q_UNUSED(client);