┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Uwe Broulik <[email protected]>2020-05-06 10:52:09 +0200
committerKai Uwe Broulik <[email protected]>2020-05-06 10:52:09 +0200
commit801fdf4c59691f2787c052b9f9392635c76a7627 (patch)
tree42cbbedba71b25749d365c17820dc0e5c1b41483
parent9f268f5f76a4a4f0c91abcc213e159c8bde4869c (diff)
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
-rw-r--r--src/dolphinmainwindow.cpp2
1 files changed, 0 insertions, 2 deletions
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<QWhatsThisClickedEvent*>(event);
QDesktopServices::openUrl(QUrl(whatsThisEvent->href()));
return true;
- } else if (event->type() == QEvent::WindowActivate) {
- updateOpenPreferredSearchToolAction();
}
return KXmlGuiWindow::event(event);
}