diff --git a/src/search/dolphinsearchbox.cpp b/src/search/dolphinsearchbox.cpp index dfd733e5da..5f5577006a 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)