From 5ddfbf25f2657f232649a9fdd2ad481127f6c349 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Wed, 13 Sep 2017 21:09:20 +0900 Subject: Add a missing #include --- jobs/converters.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jobs/converters.h b/jobs/converters.h index 376dfeab..f9ab0269 100644 --- a/jobs/converters.h +++ b/jobs/converters.h @@ -21,6 +21,7 @@ #include #include #include +#include namespace QMatrixClient { @@ -83,7 +84,6 @@ namespace QMatrixClient template <> inline QDate fromJson(const QJsonValue& jv) { - return QDateTime::fromMSecsSinceEpoch( - fromJson(jv), Qt::UTC).date(); + return fromJson(jv).date(); } -} // namespace QMatrixClient \ No newline at end of file +} // namespace QMatrixClient -- cgit v1.2.3