diff options
| author | Anthony Fieroni <[email protected]> | 2017-01-01 21:47:10 +0200 |
|---|---|---|
| committer | Anthony Fieroni <[email protected]> | 2017-01-01 21:47:10 +0200 |
| commit | c456c5d528f470ce782a90646eae52951c0f31b9 (patch) | |
| tree | 6d2634ebf0b5ce0ad8f05c7e2a6d929dce147362 /src/search/dolphinsearchbox.cpp | |
| parent | 586368dbfc900b172069b45a6a7db301ab3c009a (diff) | |
[DolphinSearchBox] Stop search timer on hide
REVIEW: 129705
Signed-off-by: Anthony Fieroni <[email protected]>
Diffstat (limited to 'src/search/dolphinsearchbox.cpp')
| -rw-r--r-- | src/search/dolphinsearchbox.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/search/dolphinsearchbox.cpp b/src/search/dolphinsearchbox.cpp index 26ddd27f8..60a4a7567 100644 --- a/src/search/dolphinsearchbox.cpp +++ b/src/search/dolphinsearchbox.cpp @@ -206,6 +206,13 @@ void DolphinSearchBox::showEvent(QShowEvent* event) } } +void DolphinSearchBox::hideEvent(QHideEvent* event) +{ + Q_UNUSED(event); + m_startedSearching = false; + m_startSearchTimer->stop(); +} + void DolphinSearchBox::keyReleaseEvent(QKeyEvent* event) { QWidget::keyReleaseEvent(event); |
