X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/d324e790d62c8a341abd06e845f8fe8d64aa8ef3..fdfdcd1a05dff5824a42303af99193c2a2f33469:/src/dolphinmainwindow.cpp diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index ebc8dc268..5e08a9e2e 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -1011,8 +1011,8 @@ void DolphinMainWindow::slotTestCanDecode(const QDragMoveEvent* event, bool& can void DolphinMainWindow::searchItems() { #ifdef HAVE_NEPOMUK - const KUrl nepomukUrl = m_searchOptionsConfigurator->nepomukUrl(); - m_activeViewContainer->setUrl(nepomukUrl); + const KUrl nepomukSearchUrl = m_searchOptionsConfigurator->nepomukSearchUrl(); + m_activeViewContainer->setUrl(nepomukSearchUrl); #endif } @@ -1074,6 +1074,7 @@ void DolphinMainWindow::init() m_searchOptionsConfigurator->hide(); connect(m_searchOptionsConfigurator, SIGNAL(searchOptionsChanged()), this, SLOT(searchItems())); + connect(this, SIGNAL(urlChanged(KUrl)), m_searchOptionsConfigurator, SLOT(setDirectory(KUrl))); #endif m_tabBar = new KTabBar(this);