This commit is contained in:
Luca Beltrame 2015-02-07 15:19:10 +01:00
parent dc321e88ce
commit bec49f9bb7

View file

@ -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();