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