mirror of
https://github.com/YACReader/yacreader
synced 2025-07-19 05:24:57 -04:00
Remove deprecated property manga
from folder and comic_info
This commit is contained in:
@ -105,8 +105,9 @@ QString ComicDB::toTXT()
|
||||
if (!info.ageRating.isNull())
|
||||
txt.append(QString("ageRating:%1\r\n").arg(info.ageRating.toString()));
|
||||
|
||||
if (!info.manga.isNull())
|
||||
txt.append(QString("manga:%1\r\n").arg(info.manga.toString()));
|
||||
if (!info.type.isNull())
|
||||
txt.append(QString("manga:%1\r\n").arg(info.type.value<YACReader::FileType>() == YACReader::FileType::Manga ? "1" : "0"));
|
||||
|
||||
// Argumento
|
||||
if (!info.synopsis.isNull())
|
||||
txt.append(QString("synopsis:%1\r\n").arg(info.synopsis.toString()));
|
||||
@ -308,7 +309,6 @@ void ComicInfo::deleteMetadata()
|
||||
format = QVariant();
|
||||
color = QVariant();
|
||||
ageRating = QVariant();
|
||||
manga = QVariant();
|
||||
|
||||
synopsis = QVariant();
|
||||
characters = QVariant();
|
||||
@ -372,7 +372,6 @@ ComicInfo &ComicInfo::operator=(const ComicInfo &comicInfo)
|
||||
publisher = comicInfo.publisher;
|
||||
format = comicInfo.format;
|
||||
color = comicInfo.color;
|
||||
manga = comicInfo.manga;
|
||||
ageRating = comicInfo.ageRating;
|
||||
synopsis = comicInfo.synopsis;
|
||||
characters = comicInfo.characters;
|
||||
@ -655,7 +654,6 @@ QDataStream &operator<<(QDataStream &stream, const ComicInfo &comicInfo)
|
||||
stream << comicInfo.format;
|
||||
stream << comicInfo.color;
|
||||
stream << comicInfo.ageRating;
|
||||
stream << comicInfo.manga;
|
||||
|
||||
stream << comicInfo.synopsis;
|
||||
stream << comicInfo.characters;
|
||||
@ -735,7 +733,6 @@ QDataStream &operator>>(QDataStream &stream, ComicInfo &comicInfo)
|
||||
stream >> comicInfo.format;
|
||||
stream >> comicInfo.color;
|
||||
stream >> comicInfo.ageRating;
|
||||
stream >> comicInfo.manga;
|
||||
|
||||
stream >> comicInfo.synopsis;
|
||||
stream >> comicInfo.characters;
|
||||
|
Reference in New Issue
Block a user