Avoid null values for issues' title coming from Comic Vine

This commit is contained in:
Luis Ángel San Martín
2018-05-31 18:31:32 +02:00
parent 4608c9bb03
commit 8921b016a5
2 changed files with 5 additions and 2 deletions

View File

@ -553,7 +553,9 @@ ComicDB ComicVineDialog::parseComicInfo(ComicDB & comic, const QString & json, i
QString synopsis = result.property("description").toString().remove(QRegExp("<[^>]*>")); //description
QString characters = getCharacters(result.property("character_credits"));
comic.info.title = title;
if (title != "null") {
comic.info.title = title;
}
comic.info.number = number;
comic.info.count = count;