From 9e05cfa9c30813a7955e58c8b10d3445cc02ae51 Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Tue, 17 May 2016 11:04:59 +0200 Subject: [PATCH] Locator: Add missing break in switch-case Lead to the tiny bug that one could not trigger a shortcut "Alt+Escape" while in the locator input field Change-Id: I4eb3182588357f8ce0817459b3d20e4bbd87287a Reviewed-by: David Schulz --- src/plugins/coreplugin/locator/locatorwidget.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/coreplugin/locator/locatorwidget.cpp b/src/plugins/coreplugin/locator/locatorwidget.cpp index ca09800a477..bef668aae04 100644 --- a/src/plugins/coreplugin/locator/locatorwidget.cpp +++ b/src/plugins/coreplugin/locator/locatorwidget.cpp @@ -420,6 +420,7 @@ bool LocatorWidget::eventFilter(QObject *obj, QEvent *event) QTimer::singleShot(0, this, &LocatorWidget::setFocusToCurrentMode); return true; } + break; case Qt::Key_Alt: if (ke->modifiers() == Qt::AltModifier) { event->accept();