summaryrefslogtreecommitdiff
path: root/src/history
diff options
context:
space:
mode:
Diffstat (limited to 'src/history')
-rw-r--r--src/history/historymanager.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/history/historymanager.h b/src/history/historymanager.h
index 96de8ab8..a0c3a5eb 100644
--- a/src/history/historymanager.h
+++ b/src/history/historymanager.h
@@ -86,7 +86,8 @@ public:
// history is sorted in reverse
inline bool operator <(const HistoryItem &other) const
{
- return lastDateTimeVisit > other.lastDateTimeVisit;
+ return visitCount > other.visitCount;
+// return lastDateTimeVisit > other.lastDateTimeVisit;
}
QString title;