diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-06-01 00:14:15 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-06-01 00:14:15 +0200 |
commit | ee31a35db40d3936b592f7e8444b4c83a62fbb49 (patch) | |
tree | 408a226c20a5425cce2073e6e799cfa1a26c9d98 /src/urlbar/completionwidget.cpp | |
parent | Merge commit 'refs/merge-requests/128' of git://gitorious.org/rekonq/mainline (diff) | |
parent | keep the selected engine when the user types (diff) | |
download | rekonq-ee31a35db40d3936b592f7e8444b4c83a62fbb49.tar.xz |
Merge commit 'refs/merge-requests/109' of git://gitorious.org/rekonq/mainline into SearchItemFixes
Diffstat (limited to 'src/urlbar/completionwidget.cpp')
-rw-r--r-- | src/urlbar/completionwidget.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/urlbar/completionwidget.cpp b/src/urlbar/completionwidget.cpp index af9bdc45..a71e9611 100644 --- a/src/urlbar/completionwidget.cpp +++ b/src/urlbar/completionwidget.cpp @@ -68,6 +68,11 @@ CompletionWidget::CompletionWidget(QWidget *parent) void CompletionWidget::insertSearchList(const UrlSearchList &list, const QString& text) { + if (!isVisible()) + { + _searchEngine = SearchEngine::defaultEngine(); + } + _list = list; int i = 0; foreach(const UrlSearchItem &item, _list) |