Only invite if there is something/someone to invite
This commit is contained in:
parent
74d493ff16
commit
4384554587
3 changed files with 9 additions and 77 deletions
|
|
@ -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_;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue