Skip to content

Commit

Permalink
[buteo-sync-plugins-social] Compile with Qt 5.6. Contributes to JB#35409
Browse files Browse the repository at this point in the history
  • Loading branch information
martinjones committed Sep 22, 2016
1 parent 17c8b53 commit 0ea54d9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/vk/vk-notifications/vknotificationsyncadaptor.cpp
Expand Up @@ -154,7 +154,8 @@ void VKNotificationSyncAdaptor::saveVKNotificationFromObject(int accountId, cons
QString type = notif.value("type").toString();
QDateTime timestamp = parseVKDateTime(notif.value(QStringLiteral("date")));
QJsonObject feedback = notif.value(QStringLiteral("feedback")).toObject();
Q_FOREACH (const QJsonValue &feedbackItem, feedback.value(QStringLiteral("items")).toArray()) {
QJsonArray feedbackItems = feedback.value(QStringLiteral("items")).toArray();
Q_FOREACH (const QJsonValue &feedbackItem, feedbackItems) {
QJsonObject feedbackItemObj = feedbackItem.toObject();
int fromId = int(feedbackItemObj.value(QStringLiteral("from_id")).toDouble());
int toId = int(feedbackItemObj.value(QStringLiteral("to_id")).toDouble());
Expand Down

0 comments on commit 0ea54d9

Please sign in to comment.