┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/search
diff options
context:
space:
mode:
Diffstat (limited to 'src/search')
-rw-r--r--src/search/dolphinsearchbox.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/search/dolphinsearchbox.cpp b/src/search/dolphinsearchbox.cpp
index a09f25293..a3cec6fe7 100644
--- a/src/search/dolphinsearchbox.cpp
+++ b/src/search/dolphinsearchbox.cpp
@@ -265,9 +265,7 @@ void DolphinSearchBox::slotSearchTextChanged(const QString &text)
if (text.isEmpty()) {
// Restore URL when search box is cleared by closing and reopening the box.
emitCloseRequest();
- QTimer::singleShot(0, this, [this] {
- Q_EMIT openRequest();
- });
+ Q_EMIT openRequest();
} else {
m_startSearchTimer->start();
}