X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/e348bc58267b3dc06f2fc044f9e5ce5a5dfcd087..837be34333bc1b7d85649418366f26d64a6d6b2c:/src/search/dolphinsearchbox.cpp diff --git a/src/search/dolphinsearchbox.cpp b/src/search/dolphinsearchbox.cpp index 8b660712a..ef9c2bfcf 100644 --- a/src/search/dolphinsearchbox.cpp +++ b/src/search/dolphinsearchbox.cpp @@ -159,7 +159,7 @@ void DolphinSearchBox::selectAll() void DolphinSearchBox::setReadOnly(bool readOnly, const KUrl& query) { - if (m_readOnly != readOnly) { + if (m_readOnly != readOnly || m_readOnlyQuery != query) { m_readOnly = readOnly; m_readOnlyQuery = query; applyReadOnlyState(); @@ -473,7 +473,7 @@ void DolphinSearchBox::updateFacetsToggleButton() const bool facetsIsVisible = SearchSettings::showFacetsWidget(); m_facetsToggleButton->setChecked(facetsIsVisible ? true : false); m_facetsToggleButton->setIcon(KIcon(facetsIsVisible ? "arrow-up-double" : "arrow-down-double")); - m_facetsToggleButton->setText(facetsIsVisible ? i18nc("action:button", "Less Options") : i18nc("action:button", "More Options")); + m_facetsToggleButton->setText(facetsIsVisible ? i18nc("action:button", "Fewer Options") : i18nc("action:button", "More Options")); } #include "dolphinsearchbox.moc"