macOS: Fix Delete with Google Japanese IME

Do not eat all ShortcutOverride events. Let the rest of the class &
widget hierarchy know about them too.

Fixes: QTCREATORBUG-26764
Change-Id: I7e2f42183bc9cb3931aca3669a6703c83e39b4bc
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Eike Ziller
2022-01-25 11:29:34 +01:00
parent b3e9f24ed1
commit 5a3648c895

View File

@@ -2914,7 +2914,7 @@ bool TextEditorWidget::event(QEvent *e)
&& (ke->key() < Qt::Key_Escape)); && (ke->key() < Qt::Key_Escape));
d->m_maybeFakeTooltipEvent = false; d->m_maybeFakeTooltipEvent = false;
} }
return true; break;
} }
case QEvent::ApplicationPaletteChange: { case QEvent::ApplicationPaletteChange: {
// slight hack: ignore palette changes // slight hack: ignore palette changes