diff options
author | Loren Burkholder <computersemiexpert@outlook.com> | 2021-07-19 12:31:20 -0400 |
---|---|---|
committer | Loren Burkholder <computersemiexpert@outlook.com> | 2021-07-20 21:48:03 -0400 |
commit | 4384554587c3e9327382f2f9cbc36e893fbe4dab (patch) | |
tree | 6280af2fb8af90d4abc4d860d1a654096101bca0 /src/InviteesModel.h | |
parent | Use standardized padding (diff) | |
download | nheko-4384554587c3e9327382f2f9cbc36e893fbe4dab.tar.xz |
Only invite if there is something/someone to invite
Diffstat (limited to '')
-rw-r--r-- | src/InviteesModel.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/InviteesModel.h b/src/InviteesModel.h index ac9208a0..a4e19ebb 100644 --- a/src/InviteesModel.h +++ b/src/InviteesModel.h @@ -30,6 +30,8 @@ class InviteesModel : public QAbstractListModel { Q_OBJECT + Q_PROPERTY(int count READ rowCount NOTIFY countChanged) + public: enum Roles { @@ -52,6 +54,7 @@ public: signals: void accept(); + void countChanged(); private: QVector<Invitee *> invitees_; |