mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-12-27 03:14:49 +00:00
Fix for pre-Qt5.2
This commit is contained in:
parent
b3dd1eba21
commit
df9f9a34ef
@ -56,7 +56,7 @@ void NotificationChecker::downloadSucceeded(int)
|
|||||||
{
|
{
|
||||||
QJsonObject obj = (*it).toObject();
|
QJsonObject obj = (*it).toObject();
|
||||||
NotificationEntry entry;
|
NotificationEntry entry;
|
||||||
entry.id = obj.value("id").toInt();
|
entry.id = obj.value("id").toDouble();
|
||||||
entry.message = obj.value("message").toString();
|
entry.message = obj.value("message").toString();
|
||||||
entry.channel = obj.value("channel").toString();
|
entry.channel = obj.value("channel").toString();
|
||||||
entry.buildtype = obj.value("buildtype").toString();
|
entry.buildtype = obj.value("buildtype").toString();
|
||||||
|
Loading…
Reference in New Issue
Block a user