summaryrefslogtreecommitdiff
path: root/src/urlbar/listitem.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-05-14 20:24:06 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-05-14 20:24:06 +0200
commit6b4f4d69a3c599bc958ccddc5f7ac1c8648a7042 (patch)
treec38c780a33c8c14f471e85725633bde545586426 /src/urlbar/listitem.cpp
parentThis commit reintroduces the QStackedWidget class for urlbars and let (diff)
downloadrekonq-6b4f4d69a3c599bc958ccddc5f7ac1c8648a7042.tar.xz
This commit should fix a lot of troubles on fast urlbar typing
so now situation is: - first list is shown immediately - timer decreases from 200 to 150 ms (less is pretty unuseful, I fear) - people who fast type & returnPress have KUriFilter help Hope this helps :) As promised, CCBUG:237390
Diffstat (limited to 'src/urlbar/listitem.cpp')
-rw-r--r--src/urlbar/listitem.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/urlbar/listitem.cpp b/src/urlbar/listitem.cpp
index c6f75348..f91840d2 100644
--- a/src/urlbar/listitem.cpp
+++ b/src/urlbar/listitem.cpp
@@ -296,6 +296,7 @@ QString SearchListItem::searchItemTitle(QString engine, QString text)
return QString(i18nc("%1=search engine, e.g. Google, Wikipedia %2=text to search for", "Search %1 for <b>%2</b>", engine, text));
}
+
void SearchListItem::changeSearchEngine(KService::Ptr engine)
{
m_titleLabel->setText(searchItemTitle(engine->name(), m_text));