mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 21:14:33 -04:00
Add setting to control what "recent" is considered.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user