mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 02:36:34 +01:00
WebInspector: Fix searching with Ctrl+F in inspector
Don't eat key events so inspector's search function can be used.
This commit is contained in:
parent
102ee62d3d
commit
6857270057
@ -87,3 +87,15 @@ void WebInspector::updateCloseButton()
|
||||
" window.close();"
|
||||
"})"));
|
||||
}
|
||||
|
||||
void WebInspector::keyPressEvent(QKeyEvent *event)
|
||||
{
|
||||
Q_UNUSED(event)
|
||||
// Stop propagation
|
||||
}
|
||||
|
||||
void WebInspector::keyReleaseEvent(QKeyEvent *event)
|
||||
{
|
||||
Q_UNUSED(event)
|
||||
// Stop propagation
|
||||
}
|
||||
|
@ -44,6 +44,9 @@ private slots:
|
||||
void updateCloseButton();
|
||||
|
||||
private:
|
||||
void keyPressEvent(QKeyEvent *event) Q_DECL_OVERRIDE;
|
||||
void keyReleaseEvent(QKeyEvent *event) Q_DECL_OVERRIDE;
|
||||
|
||||
static QList<QWebEngineView*> s_views;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user