diff options
Diffstat (limited to 'src/history')
-rw-r--r-- | src/history/historymanager.cpp | 8 | ||||
-rw-r--r-- | src/history/historymanager.h | 1 |
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); |