diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-10-07 11:11:07 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-10-07 11:11:07 +0200 |
commit | a4524cd9afd5446d2f1e8a5bcdb88217e864fde5 (patch) | |
tree | 8434bea6eadace52d013d52c898d788d7157c01c /src | |
parent | Add a shortcut for search (diff) | |
download | nheko-a4524cd9afd5446d2f1e8a5bcdb88217e864fde5.tar.xz |
Fix date separator
Diffstat (limited to 'src')
-rw-r--r-- | src/timeline/TimelineModel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |