summaryrefslogtreecommitdiffstats
path: root/examples/network/secureudpclient
diff options
context:
space:
mode:
authorSamuel Gaist <samuel.gaist@idiap.ch>2022-11-23 23:00:39 +0100
committerSamuel Gaist <samuel.gaist@idiap.ch>2022-12-21 21:52:17 +0100
commite686a13b7b2e37924e8d2a08187a538cf56a0ff3 (patch)
treeb9fbbab1d9063e6e7f0c871f4daa2a1353068d6f /examples/network/secureudpclient
parentcf6522e5d7fad2be4759f2c3a5bb4a04929db81c (diff)
examples: port network examples to new connection style
Task-number: QTBUG-106893 Change-Id: Id0f558362108fedececb9eede36becc04ff4e307 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'examples/network/secureudpclient')
-rw-r--r--examples/network/secureudpclient/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/network/secureudpclient/mainwindow.cpp b/examples/network/secureudpclient/mainwindow.cpp
index 8b9ac24c62..987eb739b9 100644
--- a/examples/network/secureudpclient/mainwindow.cpp
+++ b/examples/network/secureudpclient/mainwindow.cpp
@@ -83,7 +83,7 @@ void MainWindow::on_connectButton_clicked()
return startNewConnection(remoteAddress);
addInfoMessage(tr("Looking up the host ..."));
- lookupId = QHostInfo::lookupHost(hostName, this, SLOT(lookupFinished(QHostInfo)));
+ lookupId = QHostInfo::lookupHost(hostName, this, &MainWindow::lookupFinished);
updateUi();
}