┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/search
diff options
context:
space:
mode:
authorVishesh Handa <[email protected]>2015-04-29 14:41:25 +0200
committerVishesh Handa <[email protected]>2015-04-29 16:06:10 +0200
commit945658459702f008c56bf28d21bc7d3666c7e9db (patch)
tree958a7213f5f080eaff3eda85a42949dc3ec235a9 /src/search
parent44ac6bd5f8b1a99666a430f9d2d6d0027e8d123f (diff)
SearchBox: Baloo now only searches through Files
We no longer need to explicitly state files
Diffstat (limited to 'src/search')
-rw-r--r--src/search/dolphinsearchbox.cpp2
1 files changed, 0 insertions, 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());
}