Commit 801fdf4c authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇

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
parent 9f268f5f
......@@ -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);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment