fix(components/timeline): use correct display order

This commit is contained in:
Ronan Abhamon 2016-11-22 14:43:49 +01:00
parent 57813f0088
commit bfe32c4404

View file

@ -21,7 +21,7 @@ TimelineModel::TimelineModel (QObject *parent): QAbstractListModel(parent) {
return lower_bound(
start ? *start : m_entries.begin(), m_entries.end(), map,
[](const QVariantMap &a, const QVariantMap &b) {
return a["timestamp"] < b["timestamp"];
return a["timestamp"] > b["timestamp"];
}
);
};