Allow getting pool pages as well as posts
Currently this clashes, meaning that there will be problems if you get pools and then posts...
This commit is contained in:
parent
786c8d1f44
commit
feded2bdf3
2 changed files with 26 additions and 13 deletions
|
@ -317,7 +317,8 @@ const QStringList DanbooruService::allowedRatings() const
|
|||
|
||||
}
|
||||
|
||||
int DanbooruService::currentPage() const {
|
||||
int DanbooruService::currentPage() const
|
||||
{
|
||||
return m_currentPage;
|
||||
}
|
||||
|
||||
|
@ -340,6 +341,13 @@ void DanbooruService::nextPostPage()
|
|||
getPostList();
|
||||
}
|
||||
|
||||
void DanbooruService::nextPoolPage()
|
||||
{
|
||||
m_currentPage++;
|
||||
getPoolList();
|
||||
}
|
||||
|
||||
|
||||
QStringList DanbooruService::postTags() const
|
||||
{
|
||||
return m_tags;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue