Added lastTimeOpened as a new property to ComicDB.

This commit is contained in:
Luis Ángel San Martín
2017-03-28 18:38:05 +02:00
parent dfb6082294
commit a789d192d1
2 changed files with 10 additions and 0 deletions

View File

@ -235,6 +235,8 @@ ComicInfo & ComicInfo::operator=(const ComicInfo & comicInfo)
notes = comicInfo.notes;
comicVineID = comicInfo.comicVineID;
lastTimeOpened = comicInfo.lastTimeOpened;
return *this;
}
@ -547,6 +549,8 @@ QDataStream &operator<<(QDataStream & stream, const ComicInfo & comicInfo)
stream << comicInfo.comicVineID;
stream << comicInfo.lastTimeOpened;
return stream;
}
@ -602,6 +606,8 @@ QDataStream &operator>>(QDataStream & stream, ComicInfo & comicInfo)
stream >> comicInfo.notes;
stream >> comicInfo.comicVineID;
stream >> comicInfo.lastTimeOpened;
return stream;
}