forked from jeena/FeedTheMonkey
Downoad all images in the background and keep them in memory
As one of the first steps to offline capability we download all images and put them into the JSON stirng and into the content as data-uris for <img>-tags. This way you can go offline and keep enjoying pictures in your feeds, at least untill you restart FeedTheMonkey for now.
This commit is contained in:
parent
cf94bfe488
commit
6e450b72f1
3 changed files with 62 additions and 5 deletions
|
@ -62,7 +62,7 @@ void TinyTinyRSS::reload()
|
|||
for(int i = 0; i < posts.count(); i++)
|
||||
{
|
||||
QJsonObject postJson = posts.at(i).toObject();
|
||||
Post *post = new Post(postJson, this);
|
||||
Post *post = new Post(postJson, mNetworkManager, this);
|
||||
connect(post, SIGNAL(readChanged(bool)), this, SLOT(onPostReadChanged(bool)));
|
||||
mPosts.append(post);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue