summaryrefslogtreecommitdiffstats
path: root/examples/network/network-chat/chatdialog.h
diff options
context:
space:
mode:
authorMårten Nordheim <marten.nordheim@qt.io>2023-05-16 13:18:43 +0200
committerMårten Nordheim <marten.nordheim@qt.io>2023-05-31 12:55:55 +0200
commit61afc6d109b22c7a71194fbdbac9774aa7c78c09 (patch)
tree517717ffb7cf13e427018f8ab86e22f513c88edd /examples/network/network-chat/chatdialog.h
parent3ece5e30b7c864bfb5d94c8457834e098aee2c65 (diff)
Network chat: make ctors explicit
Task-number: QTBUG-108873 Change-Id: I08cd676aeb732d32b4d1e7d13a0aa1b37a46283f Reviewed-by: Konrad Kujawa <konrad.kujawa@qt.io> Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'examples/network/network-chat/chatdialog.h')
-rw-r--r--examples/network/network-chat/chatdialog.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/network/network-chat/chatdialog.h b/examples/network/network-chat/chatdialog.h
index adda73fb72..45a9858822 100644
--- a/examples/network/network-chat/chatdialog.h
+++ b/examples/network/network-chat/chatdialog.h
@@ -12,7 +12,7 @@ class ChatDialog : public QDialog, private Ui::ChatDialog
Q_OBJECT
public:
- ChatDialog(QWidget *parent = nullptr);
+ explicit ChatDialog(QWidget *parent = nullptr);
public slots:
void appendMessage(const QString &from, const QString &message);