Extract opening a comic from YACReaderLibrary to its own file

And send a new param `--readingListId` to tell YACReader that the comic is opened from a reading list.
This commit is contained in:
Luis Ángel San Martín
2021-05-27 18:48:52 +02:00
parent f9285bd099
commit 945b24a8f8
7 changed files with 86 additions and 33 deletions

View File

@ -129,6 +129,7 @@ public:
bool isFavorite(const QModelIndex &index);
ComicModel::Mode getMode() { return mode; }
unsigned long long int getSourceId() { return sourceId; }
QHash<int, QByteArray> roleNames() const override;