Use explicit keyword

This commit is contained in:
Laurent Montel
2023-07-12 13:18:32 +02:00
parent 10a294f99e
commit a5da17b000
11 changed files with 11 additions and 11 deletions

View File

@@ -47,7 +47,7 @@ public:
};
Q_ENUM(EventRoles)
UserListModel(QObject *parent = nullptr);
explicit UserListModel(QObject *parent = nullptr);
[[nodiscard]] NeoChatRoom *room() const;
void setRoom(NeoChatRoom *room);