mirror of
https://github.com/YACReader/yacreader
synced 2025-07-27 01:15:07 -04:00
fixed comics management on server sersion
This commit is contained in:
@ -210,7 +210,16 @@ QSet<QString> HttpSession::getDownloadedComics()
|
||||
if(dataPtr)
|
||||
return dataPtr->yacreaderSessionData.downloadedComics ;
|
||||
else
|
||||
return QSet<QString>();
|
||||
return QSet<QString>();
|
||||
}
|
||||
|
||||
void HttpSession::clearComics()
|
||||
{
|
||||
if(dataPtr)
|
||||
{
|
||||
dataPtr->yacreaderSessionData.comicsOnDevice.clear();
|
||||
dataPtr->yacreaderSessionData.downloadedComics.clear();
|
||||
}
|
||||
}
|
||||
//current comic (import)
|
||||
qulonglong HttpSession::getCurrentComicId()
|
||||
|
@ -101,6 +101,7 @@ public:
|
||||
bool isComicDownloaded(const QString & hash);
|
||||
QSet<QString> getComicsOnDevice();
|
||||
QSet<QString> getDownloadedComics();
|
||||
void clearComics();
|
||||
|
||||
//current comic (import)
|
||||
qulonglong getCurrentComicId();
|
||||
|
Reference in New Issue
Block a user