From 801fdf4c59691f2787c052b9f9392635c76a7627 Mon Sep 17 00:00:00 2001 From: Kai Uwe Broulik Date: Wed, 6 May 2020 10:52:09 +0200 Subject: [PATCH] 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 --- src/dolphinmainwindow.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 7ad136fe73..f374db41de 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); }