From 945658459702f008c56bf28d21bc7d3666c7e9db Mon Sep 17 00:00:00 2001 From: Vishesh Handa Date: Wed, 29 Apr 2015 14:41:25 +0200 Subject: [PATCH] SearchBox: Baloo now only searches through Files We no longer need to explicitly state files --- src/search/dolphinsearchbox.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/search/dolphinsearchbox.cpp b/src/search/dolphinsearchbox.cpp index 524c4462f..b67d1e65f 100644 --- a/src/search/dolphinsearchbox.cpp +++ b/src/search/dolphinsearchbox.cpp @@ -439,7 +439,6 @@ QUrl DolphinSearchBox::balooUrlForSearching() const const QString text = m_searchInput->text(); Baloo::Query query; - query.addType("File"); query.addType(m_facetsWidget->facetType()); Baloo::Term term(Baloo::Term::And); @@ -488,7 +487,6 @@ void DolphinSearchBox::fromBalooSearchUrl(const QUrl& url) setText(query.searchString()); QStringList types = query.types(); - types.removeOne("File"); // We are only interested in facet widget types if (!types.isEmpty()) { m_facetsWidget->setFacetType(types.first()); }