Add the possibility to show a recently added/updated indicator

This commit is contained in:
Luis Ángel San Martín
2023-05-20 16:17:40 +02:00
parent 11df4a9b42
commit 6a6a239cc7
25 changed files with 234 additions and 59 deletions

View File

@ -81,6 +81,8 @@ public:
Q_INVOKABLE QUrl getCoverUrlPathForComicHash(const QString &hash) const;
void setShowRecent(bool showRecent);
enum Columns {
Name = 0,
Path,
@ -106,6 +108,7 @@ public:
TypeRole,
AddedRole,
UpdatedRole,
ShowRecentRole,
};
bool isSubfolder;
@ -125,6 +128,8 @@ private:
QIcon folderIcon;
QIcon folderFinishedIcon;
bool showRecent;
};
#endif