┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/search/dolphinsearchbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/search/dolphinsearchbox.cpp')
-rw-r--r--src/search/dolphinsearchbox.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/search/dolphinsearchbox.cpp b/src/search/dolphinsearchbox.cpp
index 302081d7d..c216e1714 100644
--- a/src/search/dolphinsearchbox.cpp
+++ b/src/search/dolphinsearchbox.cpp
@@ -478,7 +478,7 @@ QUrl DolphinSearchBox::balooUrlForSearching() const
query.addType(m_facetsWidget->facetType());
QStringList queryStrings;
- QString ratingQuery = m_facetsWidget->ratingTerm();
+ QString ratingQuery = m_facetsWidget->searchTerms();
if (!ratingQuery.isEmpty()) {
queryStrings << ratingQuery;
}
@@ -523,11 +523,11 @@ void DolphinSearchBox::updateFromQuery(const DolphinQuery& query)
m_fileNameButton->setChecked(true);
}
- m_facetsWidget->resetOptions();
+ m_facetsWidget->resetSearchTerms();
m_facetsWidget->setFacetType(query.type());
const QStringList searchTerms = query.searchTerms();
for (const QString& searchTerm : searchTerms) {
- m_facetsWidget->setRatingTerm(searchTerm);
+ m_facetsWidget->setSearchTerm(searchTerm);
}
m_startSearchTimer->stop();