[libdanbooru] First stab at making everything compile
This commit is contained in:
parent
2ab1c72a7e
commit
d96b7bdaf2
2 changed files with 13 additions and 12 deletions
|
@ -60,7 +60,7 @@ DanbooruService::DanbooruService(QUrl& boardUrl, QString username,
|
|||
m_url(boardUrl),
|
||||
m_username(username),
|
||||
m_password(password),
|
||||
m_maxRating(Safe),
|
||||
m_maxRating(Danbooru::DanbooruPost::Safe),
|
||||
m_currentPosts(0),
|
||||
m_cache(cache)
|
||||
{
|
||||
|
@ -175,24 +175,24 @@ void DanbooruService::getPoolList(int page)
|
|||
}
|
||||
|
||||
void DanbooruService::getRelatedTags(const QStringList& tags,
|
||||
Danbooru::TagType tagType)
|
||||
DanbooruTag::TagType tagType)
|
||||
{
|
||||
|
||||
QString type;
|
||||
switch (tagType) {
|
||||
case Danbooru::General:
|
||||
case DanbooruTag::General:
|
||||
type = "general";
|
||||
break;
|
||||
case Danbooru::Artist:
|
||||
case DanbooruTag::Artist:
|
||||
type = "artist";
|
||||
break;
|
||||
case Danbooru::Copyright:
|
||||
case DanbooruTag::Copyright:
|
||||
type = "copyright";
|
||||
break;
|
||||
case Danbooru::Character:
|
||||
case DanbooruTag::Character:
|
||||
type = "character";
|
||||
break;
|
||||
case Danbooru::Unknown:
|
||||
case DanbooruTag::Unknown:
|
||||
type = "unknown";
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue