┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/filterbar.cpp
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2008-09-02 20:01:50 +0000
committerPeter Penz <[email protected]>2008-09-02 20:01:50 +0000
commitcb5a134080f1368beef87f46d5ed4fd7406a98fc (patch)
tree862a7dc73c14fd33be5397685a3cdc8dc42d4194 /src/filterbar.cpp
parentd91949990920b4d547e1e8ead5e915f7b4d5cabe (diff)
don't clear the filterbar when switching between tabs
BUG: 169878 svn path=/trunk/KDE/kdebase/apps/; revision=856411
Diffstat (limited to 'src/filterbar.cpp')
-rw-r--r--src/filterbar.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/filterbar.cpp b/src/filterbar.cpp
index 080dd423f..36a6d5271 100644
--- a/src/filterbar.cpp
+++ b/src/filterbar.cpp
@@ -66,12 +66,9 @@ FilterBar::~FilterBar()
{
}
-void FilterBar::hideEvent(QHideEvent* event)
+void FilterBar::clear()
{
- if (!event->spontaneous()) {
- m_filterInput->clear();
- m_filterInput->clearFocus();
- }
+ m_filterInput->clear();
}
void FilterBar::showEvent(QShowEvent* event)