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 <david.schulz@theqtcompany.com>
This commit is contained in:
Eike Ziller
2016-05-17 11:04:59 +02:00
committed by Eike Ziller
parent 3dd6bf2b96
commit 9e05cfa9c3

View File

@@ -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();