diff options
Diffstat (limited to 'src/urlbar/urlresolver.cpp')
-rw-r--r-- | src/urlbar/urlresolver.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/urlbar/urlresolver.cpp b/src/urlbar/urlresolver.cpp index 115f0295..753dd002 100644 --- a/src/urlbar/urlresolver.cpp +++ b/src/urlbar/urlresolver.cpp @@ -315,7 +315,7 @@ UrlSearchList UrlResolver::historyResolution() { QList<HistoryHashItem> found = Application::historyManager()->find(_typedString); qSort(found); - + UrlSearchList list; foreach (HistoryHashItem i, found) { @@ -333,7 +333,12 @@ UrlSearchList UrlResolver::historyResolution() UrlSearchList UrlResolver::bookmarksResolution() { UrlSearchList list; - //AwesomeUrlCompletion *bookmarkCompletion = Application::bookmarkProvider()->completionObject(); + QList<KBookmark> found = Application::bookmarkProvider()->find(_typedString); + foreach (KBookmark b, found) + { + UrlSearchItem gItem(UrlSearchItem::History, b.url().url(), b.fullText()); + list << gItem; + } return list; } |