From 54bd267eb96de135d2bf4cb91c6a16dffa0b012a Mon Sep 17 00:00:00 2001 From: Ismael Asensio Date: Sun, 3 Nov 2019 23:00:36 +0100 Subject: Get rid of search "More Options" toggle button Summary: With the new compact search filters (type/date/rating) it makes sense to show these options whenever available, and save some horizontal space on the main bar (specially for verbose languages). These options will be hidden nevertheless if the search is non-indexed or Baloo is disabled. For some nicer aesthetics D25029 should be also applied. CCBUG: 386754 Test Plan: Current: {F7681182} After: {F7687380} Along with D25029: {F7687385} Reviewers: elvisangelaccio, ngraham, #dolphin, #vdg Reviewed By: ngraham, #vdg Subscribers: kfm-devel Tags: #dolphin Differential Revision: https://phabricator.kde.org/D25057 --- src/search/dolphinsearchbox.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/search/dolphinsearchbox.h') diff --git a/src/search/dolphinsearchbox.h b/src/search/dolphinsearchbox.h index 35b422631..241dc40c1 100644 --- a/src/search/dolphinsearchbox.h +++ b/src/search/dolphinsearchbox.h @@ -137,7 +137,6 @@ private slots: void slotConfigurationChanged(); void slotSearchTextChanged(const QString& text); void slotReturnPressed(); - void slotFacetsButtonToggled(); void slotFacetChanged(); void slotSearchSaved(); @@ -158,8 +157,7 @@ private: */ void fromBalooSearchUrl(const QUrl& url); - void setFacetsVisible(bool visible); - void updateFacetsToggleButton(); + void updateFacetsVisible(); bool isIndexingEnabled() const; @@ -177,7 +175,6 @@ private: KSeparator* m_separator; QToolButton* m_fromHereButton; QToolButton* m_everywhereButton; - QToolButton* m_facetsToggleButton; DolphinFacetsWidget* m_facetsWidget; QUrl m_searchPath; -- cgit v1.3