From 5b170b003a03614e691ac64b8fc29aa43f046b14 Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Sun, 29 Jan 2023 01:42:37 -0800 Subject: [PATCH] Qt: Stop eating boolean action key events (fixes #2636) --- CHANGES | 1 + src/platform/qt/ShortcutController.cpp | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 4d91d6ec9..369036477 100644 --- a/CHANGES +++ b/CHANGES @@ -14,6 +14,7 @@ Misc: - GB Serialize: Add missing savestate support for MBC6 and NT (newer) - GBA: Improve detection of valid ELF ROMs - Qt: Include wayland QPA in AppImage (fixes mgba.io/i/2796) + - Qt: Stop eating boolean action key events (fixes mgba.io/i/2636) 0.10.1: (2023-01-10) Emulation fixes: diff --git a/src/platform/qt/ShortcutController.cpp b/src/platform/qt/ShortcutController.cpp index ccfcb10d7..371a38a1a 100644 --- a/src/platform/qt/ShortcutController.cpp +++ b/src/platform/qt/ShortcutController.cpp @@ -160,7 +160,6 @@ bool ShortcutController::eventFilter(QObject* obj, QEvent* event) { Action::BooleanFunction fn = item.value()->action()->booleanAction(); fn(event->type() == QEvent::KeyPress); event->accept(); - return true; } } if (event->type() == GamepadButtonEvent::Down()) {