From 728e6712b8833538117faec81ad6324b385c5765 Mon Sep 17 00:00:00 2001 From: Gregor Mi Date: Sat, 21 Jan 2017 00:07:49 +0100 Subject: DolphinSearchBox: Add a "More search tools..." menu button Additionally, moves the "More/Fewer options" button from right to left to reduce the mouse travelling distance when the dolphin is maximized on a large screen (see screenshots) The current location url will be passed to the search tool to set the initial search root directory. REVIEW: 123883 --- src/search/dolphinsearchbox.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/search/dolphinsearchbox.h') diff --git a/src/search/dolphinsearchbox.h b/src/search/dolphinsearchbox.h index b747679ec..5063c2bf5 100644 --- a/src/search/dolphinsearchbox.h +++ b/src/search/dolphinsearchbox.h @@ -30,6 +30,7 @@ class QToolButton; class QScrollArea; class QLabel; class QVBoxLayout; +class KMoreToolsMenuFactory; /** * @brief Input box for searching files with or without Baloo. @@ -176,6 +177,7 @@ private: DolphinFacetsWidget* m_facetsWidget; QUrl m_searchPath; + QScopedPointer m_menuFactory; QTimer* m_startSearchTimer; }; -- cgit v1.3.1