diff --git a/src/InviteesModel.cpp b/src/InviteesModel.cpp index 7e4f4e8b..7b49c234 100644 --- a/src/InviteesModel.cpp +++ b/src/InviteesModel.cpp @@ -10,8 +10,8 @@ #include "mtx/responses/profile.hpp" InviteesModel::InviteesModel(TimelineModel *room, QObject *parent) - : QAbstractListModel{parent}, - room_{room} + : QAbstractListModel{parent} + , room_{room} { } diff --git a/src/InviteesModel.h b/src/InviteesModel.h index 66811838..ab8fbdb4 100644 --- a/src/InviteesModel.h +++ b/src/InviteesModel.h @@ -36,7 +36,7 @@ class InviteesModel final : public QAbstractListModel Q_OBJECT Q_PROPERTY(int count READ rowCount NOTIFY countChanged) - Q_PROPERTY(TimelineModel * room READ room CONSTANT) + Q_PROPERTY(TimelineModel *room READ room CONSTANT) public: enum Roles