mirror of
				https://github.com/YACReader/yacreader
				synced 2025-10-31 08:14:29 -04:00 
			
		
		
		
	Include "last_time_opened" in JSON serialization
This commit is contained in:
		| @ -53,6 +53,7 @@ QJsonObject YACReaderServerDataHelper::comicToJSON(const qulonglong libraryId, c | |||||||
|     json["cover_size_ratio"] = comic.info.coverSizeRatio.toFloat(); |     json["cover_size_ratio"] = comic.info.coverSizeRatio.toFloat(); | ||||||
|     json["title"] = comic.info.title.toString(); |     json["title"] = comic.info.title.toString(); | ||||||
|     json["number"] = comic.info.number.toInt(); |     json["number"] = comic.info.number.toInt(); | ||||||
|  |     json["last_time_opened"] = comic.info.lastTimeOpened.toLongLong(); | ||||||
|  |  | ||||||
|     return json; |     return json; | ||||||
| } | } | ||||||
| @ -103,4 +104,4 @@ QJsonObject YACReaderServerDataHelper::labelToJSON(const qulonglong libraryId, c | |||||||
|     return json; |     return json; | ||||||
| } | } | ||||||
|  |  | ||||||
| YACReaderServerDataHelper::YACReaderServerDataHelper() { } | YACReaderServerDataHelper::YACReaderServerDataHelper() {} | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user