fixes #2 undefined values in list
This commit is contained in:
parent
9078c17ef0
commit
77b4df463c
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ void TinyTinyRSS::reload()
|
||||||
mPosts.clear();
|
mPosts.clear();
|
||||||
|
|
||||||
QJsonArray posts = json.value("content").toArray();
|
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();
|
QJsonObject postJson = posts.at(i).toObject();
|
||||||
Post *post = new Post(postJson, this);
|
Post *post = new Post(postJson, this);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue