summaryrefslogtreecommitdiff
path: root/src/history
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2013-01-17 18:17:53 +0100
committerAndrea Diamantini <adjam7@gmail.com>2013-01-17 18:17:53 +0100
commit9d8f84878dfeb136b951672c2695fa6b926bf615 (patch)
tree5e78d45e0413552d7a4864490f781e77d1aedcd1 /src/history
parentNo more auto-hide findbar (diff)
downloadrekonq-9d8f84878dfeb136b951672c2695fa6b926bf615.tar.xz
Fix history ordering
BUG: 313345
Diffstat (limited to 'src/history')
-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;