summaryrefslogtreecommitdiff
path: root/src/history
diff options
context:
space:
mode:
authormegabigbug <megabigbug@arrakis.(none)>2010-07-20 23:12:45 +0200
committermegabigbug <megabigbug@arrakis.(none)>2010-07-20 23:12:45 +0200
commitdadd2ac929daa925bf7c91379e064427241afc1f (patch)
treee14c08812e3c5384c7600de5c1932ecaf1da7006 /src/history
parenthistory review: (diff)
downloadrekonq-dadd2ac929daa925bf7c91379e064427241afc1f.tar.xz
remove useless bookmarkPath attribute of UrlSearchItem
add a regexp for detect url of search engines remove url that are detected from history suggestions
Diffstat (limited to 'src/history')
-rw-r--r--src/history/historymanager.cpp8
-rw-r--r--src/history/historymanager.h1
2 files changed, 0 insertions, 9 deletions
diff --git a/src/history/historymanager.cpp b/src/history/historymanager.cpp
index a56045a7..99862205 100644
--- a/src/history/historymanager.cpp
+++ b/src/history/historymanager.cpp
@@ -316,14 +316,6 @@ QList<HistoryHashItem> HistoryManager::find(const QString &text)
}
-QList<HistoryHashItem> HistoryManager::findMostVisited(const QString &text)
-{
- QList<HistoryHashItem> list = find(text);
- qSort(list);
- return list;
-}
-
-
int HistoryManager::historyLimit() const
{
return m_historyLimit;
diff --git a/src/history/historymanager.h b/src/history/historymanager.h
index b91eec60..c1627530 100644
--- a/src/history/historymanager.h
+++ b/src/history/historymanager.h
@@ -166,7 +166,6 @@ public:
HistoryHashItem get(const QString &url);
QList<HistoryHashItem> find(const QString &text);
- QList<HistoryHashItem> findMostVisited(const QString &text);
int historyLimit() const;
void setHistoryLimit(int limit);