Fix for pre-Qt5.2

This commit is contained in:
Jan Dalheimer 2014-01-03 20:12:37 +01:00
parent b3dd1eba21
commit df9f9a34ef

View File

@ -56,7 +56,7 @@ void NotificationChecker::downloadSucceeded(int)
{
QJsonObject obj = (*it).toObject();
NotificationEntry entry;
entry.id = obj.value("id").toInt();
entry.id = obj.value("id").toDouble();
entry.message = obj.value("message").toString();
entry.channel = obj.value("channel").toString();
entry.buildtype = obj.value("buildtype").toString();