From a4524cd9afd5446d2f1e8a5bcdb88217e864fde5 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Fri, 7 Oct 2022 11:11:07 +0200 Subject: Fix date separator --- src/timeline/TimelineModel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/timeline/TimelineModel.cpp b/src/timeline/TimelineModel.cpp index 3ce854a4..0eec5cae 100644 --- a/src/timeline/TimelineModel.cpp +++ b/src/timeline/TimelineModel.cpp @@ -549,7 +549,7 @@ TimelineModel::data(const mtx::events::collections::TimelineEvents &event, int r case Day: { QDateTime prevDate = origin_server_ts(event); prevDate.setTime(QTime()); - return {prevDate.toMSecsSinceEpoch()}; + return QVariant(prevDate.toMSecsSinceEpoch()); } case Timestamp: return QVariant(origin_server_ts(event)); -- cgit 1.5.1