minor changes in ComicVineDialog (model)

This commit is contained in:
Luis Ángel San Martín
2013-10-08 21:16:57 +02:00
parent 5ef8df423b
commit 6a6c902803
10 changed files with 159 additions and 12 deletions

View File

@ -27,7 +27,6 @@ void ResponseParser::loadJSONResponse(const QString &response)
if (!sc.property("error").isValid() && sc.property("error").toString() != "OK")
{
error = true;
numResults = -2;
qDebug("Error detected");
}
else
@ -36,7 +35,6 @@ void ResponseParser::loadJSONResponse(const QString &response)
if(sc.property("number_of_total_results").isValid())
numResults = sc.property("number_of_total_results").toString().toInt();// sc.property("number_of_total_results").toInt32();
else
numResults = -3;
qDebug() << sc.property("number_of_total_results").toString();
qDebug() << sc.property("oops").toString();
}
}