From 6c326f9962b9664ac601640bf8cc49b50c046c27 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Tue, 26 Jan 2010 09:01:38 +0000 Subject: Don't show the search options again, if the user closed them and cleared the search box. BUG: 218880 svn path=/trunk/KDE/kdebase/apps/; revision=1080372 --- src/search/dolphinsearchbox.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/search/dolphinsearchbox.h') diff --git a/src/search/dolphinsearchbox.h b/src/search/dolphinsearchbox.h index ac5253d49..73e4936df 100644 --- a/src/search/dolphinsearchbox.h +++ b/src/search/dolphinsearchbox.h @@ -94,15 +94,16 @@ signals: void searchTextChanged(const QString& text); /** - * Is emitted if the search box gets the focus and - * requests the need for a UI that allows to adjust - * search options. It is up to the application to ignore + * Is emitted if the search box gets the focus or the text + * has been changed. It requests the need for an UI that allows to + * adjust search options. It is up to the application to ignore * this request. */ void requestSearchOptions(); private slots: void emitSearchSignal(); + void slotTextChanged(const QString& text); private: KLineEdit* m_searchInput; -- cgit v1.3.1