summaryrefslogtreecommitdiffstats
path: root/logic/updater/NotificationChecker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'logic/updater/NotificationChecker.cpp')
-rw-r--r--logic/updater/NotificationChecker.cpp2
1 files changed, 1 insertions, 1 deletions
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();