From 317f2b839fa62ffe54247d07665655b3e355bd0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20=C3=81ngel=20San=20Mart=C3=ADn?= Date: Mon, 21 May 2018 23:14:51 +0200 Subject: [PATCH] Remove setting last time opened. The value should come from the client. --- YACReaderLibrary/db_helper.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/YACReaderLibrary/db_helper.cpp b/YACReaderLibrary/db_helper.cpp index 697d0bd0..b22189b9 100644 --- a/YACReaderLibrary/db_helper.cpp +++ b/YACReaderLibrary/db_helper.cpp @@ -793,8 +793,6 @@ void DBHelper::updateFromRemoteClientWithHash(const ComicInfo & comicInfo) if(info.currentPage == info.numPages) info.read = true; - else - info.lastTimeOpened = QDateTime::currentSecsSinceEpoch(); info.hasBeenOpened = true;