Add setting to control what "recent" is considered.

This commit is contained in:
Luis Ángel San Martín
2023-05-20 17:43:38 +02:00
parent 6a6a239cc7
commit 45af72520b
17 changed files with 86 additions and 14 deletions

View File

@ -82,6 +82,7 @@ public:
Q_INVOKABLE QUrl getCoverUrlPathForComicHash(const QString &hash) const;
void setShowRecent(bool showRecent);
void setRecentRange(int days);
enum Columns {
Name = 0,
@ -109,6 +110,7 @@ public:
AddedRole,
UpdatedRole,
ShowRecentRole,
RecentRangeRole,
};
bool isSubfolder;
@ -130,6 +132,7 @@ private:
QIcon folderFinishedIcon;
bool showRecent;
qlonglong recentDays;
};
#endif