From df9f9a34ef325b55c34293cf4e3367c50084416b Mon Sep 17 00:00:00 2001 From: Jan Dalheimer Date: Fri, 3 Jan 2014 20:12:37 +0100 Subject: [PATCH] Fix for pre-Qt5.2 --- logic/updater/NotificationChecker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logic/updater/NotificationChecker.cpp b/logic/updater/NotificationChecker.cpp index a3d7a945..8540b5a1 100644 --- a/logic/updater/NotificationChecker.cpp +++ b/logic/updater/NotificationChecker.cpp @@ -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();