Commit bfe32c44 authored by Ronan Abhamon's avatar Ronan Abhamon

fix(components/timeline): use correct display order

parent 57813f00
...@@ -21,7 +21,7 @@ TimelineModel::TimelineModel (QObject *parent): QAbstractListModel(parent) { ...@@ -21,7 +21,7 @@ TimelineModel::TimelineModel (QObject *parent): QAbstractListModel(parent) {
return lower_bound( return lower_bound(
start ? *start : m_entries.begin(), m_entries.end(), map, start ? *start : m_entries.begin(), m_entries.end(), map,
[](const QVariantMap &a, const QVariantMap &b) { [](const QVariantMap &a, const QVariantMap &b) {
return a["timestamp"] < b["timestamp"]; return a["timestamp"] > b["timestamp"];
} }
); );
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment