summaryrefslogtreecommitdiff
path: root/src/urlbar/completionwidget.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-11-07 22:31:43 +0100
committerAndrea Diamantini <adjam7@gmail.com>2010-11-07 22:31:43 +0100
commit23fdf29c98c402e96e7cb14eecba30671bc72d64 (patch)
tree2732854f3ded89546f86ce479654c569549a9ba4 /src/urlbar/completionwidget.cpp
parentFirst bunch of fixes for the suggestions. (diff)
downloadrekonq-23fdf29c98c402e96e7cb14eecba30671bc72d64.tar.xz
Let suggestions work also without search engines ones.
Diffstat (limited to 'src/urlbar/completionwidget.cpp')
-rw-r--r--src/urlbar/completionwidget.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/urlbar/completionwidget.cpp b/src/urlbar/completionwidget.cpp
index a42433b7..fdfd3107 100644
--- a/src/urlbar/completionwidget.cpp
+++ b/src/urlbar/completionwidget.cpp
@@ -384,6 +384,8 @@ void CompletionWidget::suggestUrls(const QString &text)
UrlResolver *res = new UrlResolver(text);
connect(res, SIGNAL(suggestionsReady(const UrlSearchList &, const QString &)), this, SLOT(updateSearchList(const UrlSearchList &, const QString &)));
- res->computeSuggestions();
_resList = res->orderedSearchItems();
+
+ // NOTE: It's important to call this AFTER orderedSearchItems() to let everything work
+ res->computeSuggestions();
}