diff options
author | ConfuSomu | 2023-01-05 15:26:28 -0500 |
---|---|---|
committer | ConfuSomu | 2023-01-05 15:26:28 -0500 |
commit | a962b2d93227557c68a719b2401f8d6bb3969899 (patch) | |
tree | b50b1bac5b38c9b2dfd82668615ccc8ba6ccd474 /src/list_item.h | |
parent | c269400dbb2e40d60349ab0a1d67414303653c91 (diff) | |
download | ActorViewer-a962b2d93227557c68a719b2401f8d6bb3969899.tar ActorViewer-a962b2d93227557c68a719b2401f8d6bb3969899.tar.gz ActorViewer-a962b2d93227557c68a719b2401f8d6bb3969899.zip |
Allow only listing statuses which have attachments
Diffstat (limited to 'src/list_item.h')
-rw-r--r-- | src/list_item.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/list_item.h b/src/list_item.h index ce5b6b2..866a98f 100644 --- a/src/list_item.h +++ b/src/list_item.h @@ -9,11 +9,11 @@ public: ArchiveListItemType = QListWidgetItem::UserType }; - ListItem(const QString &text, StatusType status_type, QListWidget *parent = nullptr, int index = 0); + ListItem(const QString &text, StatusType status_type, bool has_attachement, QListWidget *parent = nullptr, int index = 0); int get_status_index(); private: int status_index; StatusType status_type; - bool has_attachement; + bool has_attachement = false; }; |