From 236eac2ffa671fe9cd56c233925a19d8c89f1141 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Fri, 4 Feb 2011 20:55:52 +0100 Subject: Don't clear the search-text when switching between tabs The clearing of the search-text should only be done when opening the search-box. --- src/search/dolphinsearchbox.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/search/dolphinsearchbox.h') diff --git a/src/search/dolphinsearchbox.h b/src/search/dolphinsearchbox.h index 09d223355..3e4648048 100644 --- a/src/search/dolphinsearchbox.h +++ b/src/search/dolphinsearchbox.h @@ -69,6 +69,8 @@ public: */ void selectAll(); + void clearText(); + protected: virtual bool event(QEvent* event); virtual void showEvent(QShowEvent* event); @@ -114,7 +116,6 @@ private: private: bool m_startedSearching; - bool m_nepomukActivated; QVBoxLayout* m_topLayout; -- cgit v1.3.1