mirror of
https://github.com/YACReader/yacreader
synced 2025-07-23 15:35:03 -04:00
fixed compilation warnings in YACReaderLibrary.pro, at least using vc++ compiler
This commit is contained in:
@ -125,7 +125,8 @@ void ComicVineClient::getVolumeComicsInfo(const QString & idVolume, int page)
|
||||
//CV_COMIC_ID
|
||||
void ComicVineClient::getComicId(const QString & id, int comicNumber)
|
||||
{
|
||||
|
||||
Q_UNUSED(id);
|
||||
Q_UNUSED(comicNumber);
|
||||
}
|
||||
|
||||
//CV_COMIC_DETAIL
|
||||
@ -169,5 +170,5 @@ void ComicVineClient::getComicCover(const QString &url)
|
||||
//CV_COVER_DETAIL
|
||||
void ComicVineClient::getCoverURL(const QString & id)
|
||||
{
|
||||
|
||||
Q_UNUSED(id);
|
||||
}
|
||||
|
@ -509,11 +509,11 @@ ComicDB ComicVineDialog::parseComicInfo(ComicDB & comic, const QString & json, i
|
||||
|
||||
|
||||
QString volume = result.property("volume").property("name").toString();
|
||||
QString storyArc; //story_arc
|
||||
QString arcNumber; //??
|
||||
QString arcCount; //count_of_issue_appearances -> NO
|
||||
// QString storyArc; //story_arc
|
||||
// QString arcNumber; //??
|
||||
// QString arcCount; //count_of_issue_appearances -> NO
|
||||
|
||||
QString genere; //no
|
||||
// QString genere; //no
|
||||
|
||||
QMap<QString,QString> authors = getAuthors(result.property("person_credits"));
|
||||
|
||||
@ -527,9 +527,9 @@ ComicDB ComicVineDialog::parseComicInfo(ComicDB & comic, const QString & json, i
|
||||
QString date = result.property("cover_date").toString();
|
||||
|
||||
//QString publisher; //get from select volume
|
||||
QString format; //no
|
||||
bool color; //no
|
||||
QString ageRating; //no
|
||||
// QString format; //no
|
||||
// bool color; //no
|
||||
// QString ageRating; //no
|
||||
|
||||
QString synopsis = result.property("description").toString().remove(QRegExp("<[^>]*>")); //description
|
||||
QString characters = getCharacters(result.property("character_credits"));
|
||||
|
@ -66,6 +66,7 @@ Qt::ItemFlags LocalComicListModel::flags(const QModelIndex &index) const
|
||||
|
||||
QVariant LocalComicListModel::headerData(int section, Qt::Orientation orientation, int role) const
|
||||
{
|
||||
Q_UNUSED(section);
|
||||
|
||||
if ( role == Qt::TextAlignmentRole)
|
||||
return QVariant(Qt::AlignLeft | Qt::AlignVCenter);
|
||||
|
Reference in New Issue
Block a user