SVN commit 850676 by rytilahti: backport: use a singleshot timer to add the favicon listener. randomizes the timer's timeout between 1-4000ms, hope it isn't too much. this causes gui to show-up before starting doing the fetches and behave nicer for the user. M +6 -0 feed.cpp M +2 -0 feed.h --- branches/KDE/4.1/kdepim/akregator/src/feed.cpp #850675:850676 @@ -42,6 +42,7 @@ #include #include #include +#include //#include @@ -52,6 +53,7 @@ #include #include #include +#include #include @@ -447,6 +449,10 @@ } } +void Feed::slotAddFeedIconListener() +{ + FeedIconManager::self()->addListener( KUrl( d->xmlUrl ), this ); +} void Feed::appendArticles(const Syndication::FeedPtr feed) { --- branches/KDE/4.1/kdepim/akregator/src/feed.h #850675:850676 @@ -228,6 +228,8 @@ /** add this feed to the fetch queue @c queue */ void slotAddToFetchQueue(Akregator::FetchQueue* queue, bool intervalFetchOnly=false); + + void slotAddFeedIconListener(); signals: /** emitted when fetching started */