diff options
author | Hannah von Reth <hannah.vonreth@owncloud.com> | 2021-03-24 22:46:12 +0300 |
---|---|---|
committer | Hannah von Reth <vonreth@kde.org> | 2021-04-08 12:50:35 +0300 |
commit | 393618a8c9f18f883683bcd4267e5a8160f96911 (patch) | |
tree | 49fa21e2228f863d09d79ea1442c108fdb1a0206 /src/gui/activitydata.cpp | |
parent | f9ee331d91d18dfc91c2db1d7a73618ca5e8d650 (diff) |
Port activitylist to a QTreeview and QAbstractTableModel
We now hav proper headers and sortig capabilities
Fixes: #8158
Diffstat (limited to 'src/gui/activitydata.cpp')
-rw-r--r-- | src/gui/activitydata.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gui/activitydata.cpp b/src/gui/activitydata.cpp index 0b7b59a62..7d74a0d0c 100644 --- a/src/gui/activitydata.cpp +++ b/src/gui/activitydata.cpp @@ -83,11 +83,6 @@ const QVector<ActivityLink> &Activity::links() const return _links; } -bool Activity::operator<(const Activity &lhs) const -{ - return _dateTime.toMSecsSinceEpoch() > lhs._dateTime.toMSecsSinceEpoch(); -} - bool Activity::operator==(const Activity &lhs) const { return (_type == lhs._type && _id == lhs._id && _uuid == lhs._uuid); |