┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/search
diff options
context:
space:
mode:
authorNicolas Fella <[email protected]>2023-10-24 23:12:22 +0200
committerNicolas Fella <[email protected]>2023-10-24 23:14:25 +0200
commit1826f905d706925456763394de17294bcb6d1c35 (patch)
tree6838f9f0a8423cc7b0b86554139299c649f53b42 /src/search
parent8b91acf05b2b41ae68268081d31af18cf66d3bca (diff)
parentef59e42c40df5e873a1a1b6c2173d5b55641a783 (diff)
Merge branch 'master' into kf6
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();
}