summaryrefslogtreecommitdiffstats
path: root/examples/network/network-chat/chatdialog.cpp
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/network-chat/chatdialog.cpp
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/network-chat/chatdialog.cpp')
-rw-r--r--examples/network/network-chat/chatdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/network/network-chat/chatdialog.cpp b/examples/network/network-chat/chatdialog.cpp
index ddec5c2997..7cf2c9fd4e 100644
--- a/examples/network/network-chat/chatdialog.cpp
+++ b/examples/network/network-chat/chatdialog.cpp
@@ -27,7 +27,7 @@ ChatDialog::ChatDialog(QWidget *parent)
myNickName = client.nickName();
newParticipant(myNickName);
tableFormat.setBorder(0);
- QTimer::singleShot(10 * 1000, this, SLOT(showInformation()));
+ QTimer::singleShot(10 * 1000, this, &ChatDialog::showInformation);
}
void ChatDialog::appendMessage(const QString &from, const QString &message)