mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
Update the last time opened value in YACReader when a comic info is synchronized back to YACReaderLibrary.
This commit is contained in:
parent
0f9396ea9e
commit
1da9745e1c
@ -1658,6 +1658,7 @@ void MainWindowViewer::sendComic()
|
||||
{
|
||||
YACReaderLocalClient * client = new YACReaderLocalClient;
|
||||
currentComicDB.info.hasBeenOpened = true;
|
||||
currentComicDB.info.lastTimeOpened = QDateTime::currentSecsSinceEpoch();
|
||||
viewer->updateComic(currentComicDB);
|
||||
int retries = 1;
|
||||
while(!client->sendComicInfo(libraryId,currentComicDB) && retries!=0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user