]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/search/dolphinsearchbox.cpp
DolphinView: get rid of writeStateChanged signal in setActive()
[dolphin.git] / src / search / dolphinsearchbox.cpp
index a09f252937e7853451a4fac160646636d4fd217c..a3cec6fe7e1ea4ea55e51d34a11943cab2d2a38e 100644 (file)
@@ -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();
     }