diff --git a/src/gui/activitydata.cpp b/src/gui/activitydata.cpp index b0236658e..866c97956 100644 --- a/src/gui/activitydata.cpp +++ b/src/gui/activitydata.cpp @@ -21,7 +21,7 @@ namespace OCC { bool operator<(const Activity &rhs, const Activity &lhs) { - return rhs._dateTime.toMSecsSinceEpoch() > lhs._dateTime.toMSecsSinceEpoch(); + return rhs._dateTime > lhs._dateTime; } bool operator==(const Activity &rhs, const Activity &lhs)