From a6cf98332b209a89273844d9dbaf0eda1f0d60a3 Mon Sep 17 00:00:00 2001 From: Scott Mansell Date: Fri, 7 Aug 2026 19:31:36 +1200 Subject: Fix fallthough in CodeView/MemoryView widgets This slightly changes the behaviour, but I think this is more correct. --- Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp') diff --git a/Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp b/Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp index c7a74ee29d..82d1473ee4 100644 --- a/Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp +++ b/Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp @@ -1174,7 +1174,9 @@ void CodeViewWidget::keyPressEvent(QKeyEvent* event) if (event->modifiers() == Qt::ControlModifier) { emit ActivateSearch(); + return; } + [[fallthrough]]; default: QWidget::keyPressEvent(event); break; -- cgit v1.2.3