1
0
mirror of https://invent.kde.org/system/dolphin synced 2024-07-02 16:31:23 +00:00

Fix a crash in DolphinSearchBox::hideEvent()

BUG: 481553
This commit is contained in:
Vlad Zahorodnii 2024-02-20 19:18:40 +02:00 committed by Méven Car
parent 855c712a23
commit 19a59fad5f

View File

@ -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)