diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-10-06 16:57:54 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-10-06 16:57:54 +0200 |
commit | 0862a4df3a9f33bff215adba34676bd88f5d8b00 (patch) | |
tree | da88bf41e5fcceb28c9f2c94cb32853f767187d9 /src/urlbar | |
parent | SVN_SILENT made messages (.desktop file) (diff) | |
parent | fix opensearch suggestions url (diff) | |
download | rekonq-0862a4df3a9f33bff215adba34676bd88f5d8b00.tar.xz |
Merge branch 'm220'
Diffstat (limited to 'src/urlbar')
-rw-r--r-- | src/urlbar/listitem.cpp | 2 | ||||
-rw-r--r-- | src/urlbar/urlresolver.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/urlbar/listitem.cpp b/src/urlbar/listitem.cpp index d84a5488..c60e69a8 100644 --- a/src/urlbar/listitem.cpp +++ b/src/urlbar/listitem.cpp @@ -429,7 +429,7 @@ SuggestionListItem::SuggestionListItem(const UrlSearchItem &item, const QString QHBoxLayout *hLayout = new QHBoxLayout; hLayout->setSpacing(4); - hLayout->addWidget(new IconLabel(SearchEngine::buildQuery(UrlResolver::searchEngine(), ""), this)); + hLayout->addWidget(new IconLabel(item.url, this)); hLayout->addWidget(new TextLabel(item.title, SearchEngine::extractQuery(text), this)); hLayout->addWidget(new TypeIconLabel(item.type, this)); diff --git a/src/urlbar/urlresolver.cpp b/src/urlbar/urlresolver.cpp index 8aea840c..8ecc5537 100644 --- a/src/urlbar/urlresolver.cpp +++ b/src/urlbar/urlresolver.cpp @@ -409,7 +409,7 @@ void UrlResolver::suggestionsReceived(const QString &text, const QStringList &su Q_FOREACH(const QString &s, suggestions) { - UrlSearchItem gItem(UrlSearchItem::Suggestion, s, s); + UrlSearchItem gItem(UrlSearchItem::Suggestion, SearchEngine::buildQuery(UrlResolver::searchEngine(), s), s); sugList << gItem; } emit suggestionsReady(sugList, _typedString); |