summaryrefslogtreecommitdiff
path: root/src/urlbar/urlresolver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/urlbar/urlresolver.cpp')
-rw-r--r--src/urlbar/urlresolver.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/urlbar/urlresolver.cpp b/src/urlbar/urlresolver.cpp
index 300f33ef..985b15c3 100644
--- a/src/urlbar/urlresolver.cpp
+++ b/src/urlbar/urlresolver.cpp
@@ -133,10 +133,10 @@ UrlSearchList UrlResolver::orderedSearchItems()
//compute lists
computeSuggestions();
+ computeHistory();
computeQurlFromUserInput();
computeWebSearches();
computeBookmarks();
- computeHistory();
return orderLists();
}
@@ -263,6 +263,8 @@ UrlSearchList UrlResolver::orderLists()
historyCount = _history.count();
bookmarksCount = _bookmarks.count();
commonCount = common.count();
+
+ kDebug() << "HISTORY COUNT: " << historyCount;
//now fill the list to MAX_ELEMENTS
if(availableEntries > 0)
@@ -352,7 +354,7 @@ void UrlResolver::computeHistory()
void UrlResolver::computeBookmarks()
{
QList<KBookmark> found = Application::bookmarkProvider()->find(_typedString);
-
+ kDebug() << "FOUND: " << found.count();
Q_FOREACH(const KBookmark &b, found)
{
UrlSearchItem gItem(UrlSearchItem::Bookmark, b.url().url(), b.fullText());