mirror of
https://github.com/YACReader/yacreader
synced 2026-02-13 18:43:02 -05:00
added comicVineID field to the data base, if the comic information has been scraped the properties dialog shows a link to the Comic Vine page with the comic information
This commit is contained in:
@ -201,7 +201,7 @@ ComicInfo & ComicInfo::operator=(const ComicInfo & comicInfo)
|
||||
synopsis = comicInfo.synopsis;
|
||||
characters = comicInfo.characters;
|
||||
notes = comicInfo.notes;
|
||||
comicVineURL = comicInfo.comicVineURL;
|
||||
comicVineID = comicInfo.comicVineID;
|
||||
|
||||
return *this;
|
||||
}
|
||||
@ -414,6 +414,9 @@ QDataStream &operator<<(QDataStream & stream, const ComicInfo & comicInfo)
|
||||
stream << comicInfo.synopsis;
|
||||
stream << comicInfo.characters;
|
||||
stream << comicInfo.notes;
|
||||
|
||||
stream << comicInfo.comicVineID;
|
||||
|
||||
return stream;
|
||||
}
|
||||
|
||||
@ -467,6 +470,8 @@ QDataStream &operator>>(QDataStream & stream, ComicInfo & comicInfo)
|
||||
stream >> comicInfo.synopsis;
|
||||
stream >> comicInfo.characters;
|
||||
stream >> comicInfo.notes;
|
||||
|
||||
stream >> comicInfo.comicVineID;
|
||||
|
||||
return stream;
|
||||
}
|
||||
|
||||
@ -72,7 +72,7 @@ public:
|
||||
QVariant characters;//string
|
||||
QVariant notes;//string
|
||||
|
||||
QVariant comicVineURL;//string
|
||||
QVariant comicVineID;//string
|
||||
|
||||
QImage cover;
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
#endif
|
||||
|
||||
|
||||
#define VERSION "7.0.2"
|
||||
#define VERSION "7.1.0"
|
||||
|
||||
#define PATH "PATH"
|
||||
#define MAG_GLASS_SIZE "MAG_GLASS_SIZE"
|
||||
|
||||
Reference in New Issue
Block a user