Move tag downloading to a separate slot instead of a lambda

If tag downloading is still in progress when the application is closed,
it will try to access the instance's pointer, leading to a crash.
This commit is contained in:
Luca Beltrame 2015-02-21 16:13:42 +01:00
parent 92613218e1
commit 114df7aa31
2 changed files with 36 additions and 33 deletions

View file

@ -283,6 +283,7 @@ public:
private Q_SLOTS:
void processPostList(KJob *job);
void processTagList(KJob *job);
void downloadAllTags(KJob *job);
Q_SIGNALS: