diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-08-16 17:33:17 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-08-19 17:08:34 +0200 |
commit | 5e210a19b1e6aacdce412d07d1fc80f1564cbbd1 (patch) | |
tree | 73a4578338109886407cc239c2739d361e2b0bf9 /src/urlbar/urlresolver.cpp | |
parent | Simpler than I thought, fix kget integration (diff) | |
download | rekonq-5e210a19b1e6aacdce412d07d1fc80f1564cbbd1.tar.xz |
HistoryManager review (the second):
- impressive cleanup of the code
- removed unneeded classes
- one List to manage the items in the historyManager, one easier Hash in the HistoryFilterModel to speed up searches
- better HistoryItem updates
Diffstat (limited to 'src/urlbar/urlresolver.cpp')
-rw-r--r-- | src/urlbar/urlresolver.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/urlbar/urlresolver.cpp b/src/urlbar/urlresolver.cpp index f0fd257b..b762716a 100644 --- a/src/urlbar/urlresolver.cpp +++ b/src/urlbar/urlresolver.cpp @@ -313,11 +313,11 @@ UrlSearchList UrlResolver::webSearchesResolution() // STEP 3 = history completion UrlSearchList UrlResolver::historyResolution() { - QList<HistoryHashItem> found = Application::historyManager()->find(_typedString); + QList<HistoryItem> found = Application::historyManager()->find(_typedString); qSort(found); UrlSearchList list; - foreach (HistoryHashItem i, found) + foreach (HistoryItem i, found) { if (_searchEnginesRegexp.indexIn(i.url) == -1) //filter all urls that are search engine results { |