Clean up
This commit is contained in:
parent
dc321e88ce
commit
bec49f9bb7
1 changed files with 1 additions and 16 deletions
|
@ -243,7 +243,7 @@ void DanbooruService::getPoolList(int page)
|
|||
Q_EMIT(poolDownloadFinished());
|
||||
}
|
||||
|
||||
);
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
|
@ -440,21 +440,6 @@ void DanbooruService::processPostList(KJob *job)
|
|||
|
||||
m_postsToFetch = postList.length();
|
||||
|
||||
// int postId = 0;
|
||||
//
|
||||
// for (auto element: postList) {
|
||||
// QVariantMap map = element.toMap();
|
||||
// DanbooruPost *post = new DanbooruPost(map);
|
||||
// if (isPostBlacklisted(post, m_blacklist, m_maxRating)) {
|
||||
// m_postsToFetch--;
|
||||
// delete post;
|
||||
// continue;
|
||||
// }
|
||||
// m_posts.insert(postId, post);
|
||||
// postId++;
|
||||
//
|
||||
// }
|
||||
|
||||
for (auto element : postList) {
|
||||
|
||||
QVariantMap map = element.toMap();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue