mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 09:32:12 +01:00
Workaround Ctrl+F keypress being eaten by QtWebEngine 5.9
This commit is contained in:
parent
16f9b2fde9
commit
49eb9a862e
|
@ -1305,6 +1305,18 @@ void BrowserWindow::keyReleaseEvent(QKeyEvent* event)
|
|||
return;
|
||||
}
|
||||
|
||||
switch (event->key()) {
|
||||
case Qt::Key_F:
|
||||
if (event->modifiers() == Qt::ControlModifier) {
|
||||
action(QSL("Edit/Find"))->trigger();
|
||||
event->accept();
|
||||
}
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
QMainWindow::keyReleaseEvent(event);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user