mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-12 12:54:29 +00:00
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
This commit is contained in:
parent
9f268f5f76
commit
801fdf4c59
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue