Remove deprecated property manga from folder and comic_info

This commit is contained in:
Luis Ángel San Martín
2023-06-10 11:09:55 +02:00
parent 13993f0381
commit 51a4dbf049
9 changed files with 9 additions and 43 deletions

View File

@ -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;