diff options
author | Jan Dalheimer <jan@dalheimer.de> | 2014-01-03 20:12:37 +0100 |
---|---|---|
committer | Jan Dalheimer <jan@dalheimer.de> | 2014-01-03 20:12:37 +0100 |
commit | df9f9a34ef325b55c34293cf4e3367c50084416b (patch) | |
tree | f648e83cc6dbcbd37f7ccd8b3ac78f2f5f1828cf /logic | |
parent | b3dd1eba2146849cddd7e85b16aa3b8af9d2de23 (diff) | |
download | MultiMC-df9f9a34ef325b55c34293cf4e3367c50084416b.tar MultiMC-df9f9a34ef325b55c34293cf4e3367c50084416b.tar.gz MultiMC-df9f9a34ef325b55c34293cf4e3367c50084416b.tar.lz MultiMC-df9f9a34ef325b55c34293cf4e3367c50084416b.tar.xz MultiMC-df9f9a34ef325b55c34293cf4e3367c50084416b.zip |
Fix for pre-Qt5.2
Diffstat (limited to 'logic')
-rw-r--r-- | logic/updater/NotificationChecker.cpp | 2 |
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(); |