fixes #2 undefined values in list

This commit is contained in:
Jeena 2015-04-12 01:00:31 +02:00
parent 9078c17ef0
commit 77b4df463c

View file

@ -40,7 +40,7 @@ void TinyTinyRSS::reload()
mPosts.clear();
QJsonArray posts = json.value("content").toArray();
for(int i = 0; i <= posts.count(); i++)
for(int i = 0; i < posts.count(); i++)
{
QJsonObject postJson = posts.at(i).toObject();
Post *post = new Post(postJson, this);