From 9655db5745914b95bc60c791e9a9faaab5074ed8 Mon Sep 17 00:00:00 2001 From: megabigbug Date: Sat, 22 May 2010 08:34:57 +0200 Subject: select the correct engine in the engine bar when a webshortcut is typed --- src/urlbar/listitem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/urlbar/listitem.cpp b/src/urlbar/listitem.cpp index f91840d2..e3af638c 100644 --- a/src/urlbar/listitem.cpp +++ b/src/urlbar/listitem.cpp @@ -274,7 +274,7 @@ SearchListItem::SearchListItem(const UrlSearchItem &item, const QString &text, Q m_iconLabel = new IconLabel("edit-find", this); //TODO: get the default engine icon m_titleLabel = new TextLabel(searchItemTitle(engine->name(), query), QString(), this); - m_engineBar = new EngineBar(currentEngine, parent); + m_engineBar = new EngineBar(engine, parent); QHBoxLayout *hLayout = new QHBoxLayout; hLayout->setSpacing(4); -- cgit v1.2.1