mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
Fix comic title and number json serialziation
This commit is contained in:
parent
1fc3c2eee7
commit
113cf341c0
@ -36,8 +36,8 @@ QJsonObject YACReaderServerDataHelper::comicToJSON(const qulonglong libraryId, c
|
|||||||
json["num_pages"] = comic.info.numPages.toInt();
|
json["num_pages"] = comic.info.numPages.toInt();
|
||||||
json["read"] = comic.info.read;
|
json["read"] = comic.info.read;
|
||||||
json["cover_size_ratio"] = comic.info.coverSizeRatio.toFloat();
|
json["cover_size_ratio"] = comic.info.coverSizeRatio.toFloat();
|
||||||
json["title"] = comic.info.title;
|
json["title"] = comic.info.title.toString();
|
||||||
json["number"] = comic.info.number;
|
json["number"] = comic.info.number.toInt();
|
||||||
|
|
||||||
return json;
|
return json;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user