Only invite if there is something/someone to invite

This commit is contained in:
Loren Burkholder 2021-07-19 12:31:20 -04:00
parent 74d493ff16
commit 4384554587
3 changed files with 9 additions and 77 deletions

View file

@ -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_;