[libdanbooru/danbooruservice] Move thumbnail downloading to a lambda
slot This greatly reduces complexity and prevents the ugly passing of properties along the jobs.
This commit is contained in:
parent
66cd4f46d1
commit
3f760a7690
2 changed files with 48 additions and 51 deletions
|
@ -96,7 +96,7 @@ namespace Danbooru {
|
|||
QSet<QString> m_blacklist;
|
||||
DanbooruPost::Ratings m_maxRating;
|
||||
|
||||
unsigned int m_currentPosts; // To tell when to quit
|
||||
unsigned int m_postsToFetch; // To tell when to quit
|
||||
|
||||
KImageCache* m_cache; // Pixmap cache
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue