summaryrefslogtreecommitdiff
path: root/src/history
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2011-04-10 00:52:06 +0200
committerAndrea Diamantini <adjam7@gmail.com>2011-04-10 00:52:06 +0200
commit1519d6ab5b9898e1617989719fb31ec5a95c1200 (patch)
tree9c1bc60c52d2c243889e9d10a950c0c2b8aa50e1 /src/history
parentUse esc button to renew the url seen in the urlbar (diff)
downloadrekonq-1519d6ab5b9898e1617989719fb31ec5a95c1200.tar.xz
Fix History ordering (check about:history page before and after this patch)
and remove the "provileged" item in the urlbar suggestions as it was NOT really working. Reduce min suggestion list from 3 to 2 to enable more history suggestions. .
Diffstat (limited to 'src/history')
-rw-r--r--src/history/historymanager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/history/historymanager.h b/src/history/historymanager.h
index eb8d78d7..8650bd14 100644
--- a/src/history/historymanager.h
+++ b/src/history/historymanager.h
@@ -84,7 +84,7 @@ public:
// history is sorted in reverse
inline bool operator <(const HistoryItem &other) const
{
- return relevance() > other.relevance();
+ return dateTime > other.dateTime;
}
QString title;