summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/history/historymanager.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/history/historymanager.h b/src/history/historymanager.h
index a0c3a5eb..c1e9f1cd 100644
--- a/src/history/historymanager.h
+++ b/src/history/historymanager.h
@@ -84,10 +84,10 @@ public:
}
// history is sorted in reverse
+ // WARNING: Please, NO MORE CHANGE this!
inline bool operator <(const HistoryItem &other) const
{
- return visitCount > other.visitCount;
-// return lastDateTimeVisit > other.lastDateTimeVisit;
+ return lastDateTimeVisit > other.lastDateTimeVisit;
}
QString title;