diff options
author | Samuel Gaist <samuel.gaist@idiap.ch> | 2022-11-23 23:00:39 +0100 |
---|---|---|
committer | Samuel Gaist <samuel.gaist@idiap.ch> | 2022-12-21 21:52:17 +0100 |
commit | e686a13b7b2e37924e8d2a08187a538cf56a0ff3 (patch) | |
tree | b9fbbab1d9063e6e7f0c871f4daa2a1353068d6f /examples/network/secureudpclient | |
parent | cf6522e5d7fad2be4759f2c3a5bb4a04929db81c (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.cpp | 2 |
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(); } |