From 27a8c55ec9207ae00da91596ba390e835a066782 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Wed, 20 Apr 2011 21:19:46 +0200 Subject: Search improvements Use Query::titleFromQueryUrl() to give a hint what kind of information is shown to the user. --- src/dolphinviewcontainer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dolphinviewcontainer.cpp') diff --git a/src/dolphinviewcontainer.cpp b/src/dolphinviewcontainer.cpp index 15eb7f644..1042ece63 100644 --- a/src/dolphinviewcontainer.cpp +++ b/src/dolphinviewcontainer.cpp @@ -254,7 +254,7 @@ void DolphinViewContainer::setSearchModeEnabled(bool enabled) if (enabled) { KUrl url = m_urlNavigator->locationUrl(); m_searchBox->setText(QString()); - m_searchBox->setReadOnly(isSearchUrl(url)); + m_searchBox->setReadOnly(isSearchUrl(url), url); // Remember the most recent non-search URL as search path // of the search-box, so that it can be restored -- cgit v1.3