diff options
author | KitsuneRal <Kitsune-Ral@users.sf.net> | 2016-11-07 07:05:13 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-07 07:05:13 +0900 |
commit | 2a9caefa6bdce4a6c3a8847f166de16a69dd95dd (patch) | |
tree | af11f0e8dbab7ab204a9d437fc30ed259fd76833 /events/receiptevent.cpp | |
parent | 6b0c1ee80db661a19ef4376d6663278d949715eb (diff) | |
parent | c842e8803924f477532dfcf0f37710e63d86d669 (diff) | |
download | libquotient-2a9caefa6bdce4a6c3a8847f166de16a69dd95dd.tar.gz libquotient-2a9caefa6bdce4a6c3a8847f166de16a69dd95dd.zip |
Merge pull request #49 from Fxrh/kitsune-cleanup
Cleanup upon code inspection in CLion
Diffstat (limited to 'events/receiptevent.cpp')
-rw-r--r-- | events/receiptevent.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/events/receiptevent.cpp b/events/receiptevent.cpp index a4963cc8..74e89ba2 100644 --- a/events/receiptevent.cpp +++ b/events/receiptevent.cpp @@ -81,7 +81,7 @@ ReceiptEvent* ReceiptEvent::fromJson(const QJsonObject& obj) { const QJsonObject user = reads[userId].toObject(); const QDateTime time = QDateTime::fromMSecsSinceEpoch( (quint64) user["ts"].toDouble(), Qt::UTC ); - receipts.push_back({ eventId, userId, time }); + receipts.push_back({ userId, time }); } e->d->eventToReceipts.insert(eventId, receipts); } |