From: Kai Uwe Broulik Date: Wed, 6 May 2020 08:52:09 +0000 (+0200) Subject: Don't update preferred search action on window activation X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/801fdf4c59691f2787c052b9f9392635c76a7627 Don't update preferred search action on window activation I don't see why this is necessary and causes a blocking(!) StatJob every single time the window is focussed, worse, ends up in an infinite loop when the window loses focus on an auth prompt. CCBUG: 420911 Differential Revision: https://phabricator.kde.org/D29441 --- diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 7ad136fe7..f374db41d 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -2297,8 +2297,6 @@ bool DolphinMainWindow::event(QEvent *event) QWhatsThisClickedEvent* whatsThisEvent = dynamic_cast(event); QDesktopServices::openUrl(QUrl(whatsThisEvent->href())); return true; - } else if (event->type() == QEvent::WindowActivate) { - updateOpenPreferredSearchToolAction(); } return KXmlGuiWindow::event(event); }