]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphinviewcontainer.cpp
Fix compilation when Nepomuk is not available
[dolphin.git] / src / dolphinviewcontainer.cpp
index c46615bccc6a1f4a9d5cd620b0c215876dd73e1c..9222598587af984fac13936480d0c9f613a06212 100644 (file)
@@ -212,6 +212,8 @@ void DolphinViewContainer::setSearchModeEnabled(bool enabled)
     m_urlNavigator->setVisible(!enabled);
 
     if (enabled) {
+        m_searchBox->setText(QString());
+
         // Remember the most recent non-search URL as search path
         // of the search-box, so that it can be restored
         // when switching back to the URL navigator.