summaryrefslogtreecommitdiffstats
path: root/examples/network/network-chat/chatdialog.cpp
diff options
context:
space:
mode:
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 ddec5c2997e..7cf2c9fd4e3 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)