┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlad Zahorodnii <[email protected]>2024-02-20 19:18:40 +0200
committerMéven Car <[email protected]>2024-02-21 10:13:46 +0000
commit19a59fad5f9f1d81245af9b294db943d7dcf7e02 (patch)
tree7f4f1c75153cdc15d399387448b932a25fa4794e
parent855c712a231fdfb52c6f296855f963507fa38a07 (diff)
Fix a crash in DolphinSearchBox::hideEvent()
BUG: 481553
-rw-r--r--src/search/dolphinsearchbox.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/search/dolphinsearchbox.cpp b/src/search/dolphinsearchbox.cpp
index dfd733e5d..5f5577006 100644
--- a/src/search/dolphinsearchbox.cpp
+++ b/src/search/dolphinsearchbox.cpp
@@ -196,7 +196,9 @@ void DolphinSearchBox::hideEvent(QHideEvent *event)
{
Q_UNUSED(event)
m_startedSearching = false;
- m_startSearchTimer->stop();
+ if (m_startSearchTimer) {
+ m_startSearchTimer->stop();
+ }
}
void DolphinSearchBox::keyReleaseEvent(QKeyEvent *event)