KUrl DolphinViewContainer::url() const
{
- return m_urlNavigator->locationUrl();
+ return m_view->url();
}
void DolphinViewContainer::setActive(bool active)
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