diff options
author | Loren Burkholder <computersemiexpert@outlook.com> | 2023-02-25 23:19:15 -0500 |
---|---|---|
committer | Loren Burkholder <computersemiexpert@outlook.com> | 2023-02-28 20:40:22 -0500 |
commit | 24d401365e8f83c207b9381e59cb0a6ac9e24b1c (patch) | |
tree | 87470441d6b65ad74f6d01ec5803b89d22ae5c3e /src/InviteesModel.cpp | |
parent | Change members button color when hovered (diff) | |
download | nheko-24d401365e8f83c207b9381e59cb0a6ac9e24b1c.tar.xz |
Always open the invite dialog properly from the member list
Diffstat (limited to 'src/InviteesModel.cpp')
-rw-r--r-- | src/InviteesModel.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/InviteesModel.cpp b/src/InviteesModel.cpp index 2b95a36f..7e4f4e8b 100644 --- a/src/InviteesModel.cpp +++ b/src/InviteesModel.cpp @@ -9,8 +9,9 @@ #include "MatrixClient.h" #include "mtx/responses/profile.hpp" -InviteesModel::InviteesModel(QObject *parent) - : QAbstractListModel{parent} +InviteesModel::InviteesModel(TimelineModel *room, QObject *parent) + : QAbstractListModel{parent}, + room_{room} { } |