From: Ivailo Monev Date: Mon, 28 Dec 2020 02:14:30 +0000 (+0000) Subject: add missing break in switch in QComboBox::keyPressEvent() X-Git-Tag: 4.12.0~2924 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=6da69a8b0664de84d2d8d49c074c1adf9a426e8b;p=kde%2FKatie.git add missing break in switch in QComboBox::keyPressEvent() upstream commit: https://github.com/qt/qtbase/commit/c34c8a564ef029144db6d2be256de7e46f91199a Signed-off-by: Ivailo Monev --- diff --git a/src/gui/widgets/qcombobox.cpp b/src/gui/widgets/qcombobox.cpp index bbc0fe324..762b612f4 100644 --- a/src/gui/widgets/qcombobox.cpp +++ b/src/gui/widgets/qcombobox.cpp @@ -2723,6 +2723,7 @@ void QComboBox::keyPressEvent(QKeyEvent *e) showPopup(); return; } + break; case Qt::Key_Enter: case Qt::Key_Return: case Qt::Key_Escape: @@ -2736,6 +2737,7 @@ void QComboBox::keyPressEvent(QKeyEvent *e) else e->ignore(); } + break; } if (move != NoMove) {