diff options
| author | Vishesh Handa <[email protected]> | 2014-03-24 10:48:53 +0100 |
|---|---|---|
| committer | Vishesh Handa <[email protected]> | 2014-03-24 14:38:15 +0100 |
| commit | 76e5fd48349bb521e5403d694f1dc45f2d22d1ae (patch) | |
| tree | 26cb8385f157984e901487363aee5793d7b081cb /src/search/dolphinsearchbox.cpp | |
| parent | 3e576a16597b154a137604efd16323e1a1338f60 (diff) | |
Dolphin Facet Widget: Convert type selection into radio buttons
They were previously checkboxes. Most files cannot have more than 1 type
considering that the exposed types were "Document", "Image", "Video" and
"Audio".
Also, it is not very simple in baloo to search through ORs for types.
Not through the exposed API anyway.
REVIEW: 117015
Diffstat (limited to 'src/search/dolphinsearchbox.cpp')
| -rw-r--r-- | src/search/dolphinsearchbox.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/search/dolphinsearchbox.cpp b/src/search/dolphinsearchbox.cpp index 9aba4c954..0a7056682 100644 --- a/src/search/dolphinsearchbox.cpp +++ b/src/search/dolphinsearchbox.cpp @@ -436,7 +436,7 @@ KUrl DolphinSearchBox::balooUrlForSearching() const Baloo::Query query; query.addType("File"); - query.addTypes(m_facetsWidget->facetTypes()); + query.addType(m_facetsWidget->facetType()); Baloo::Term term(Baloo::Term::And); |
