┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Astals Cid <[email protected]>2021-07-21 23:24:32 +0200
committerAlbert Astals Cid <[email protected]>2021-07-26 22:08:58 +0000
commit674a4a91dac8698bdd9aef611e2707d4fb389bf1 (patch)
tree3453e24bf35de7bf8bc21fdedc93bc28b04d2e8a
parent90699c2c2dc6927c8294965041e45c6b986dceff (diff)
Add break; to KItemListRoleEditor::keyPressEvent cases
-rw-r--r--src/kitemviews/private/kitemlistroleeditor.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/kitemviews/private/kitemlistroleeditor.cpp b/src/kitemviews/private/kitemlistroleeditor.cpp
index cc10bd58a..993c6893a 100644
--- a/src/kitemviews/private/kitemlistroleeditor.cpp
+++ b/src/kitemviews/private/kitemlistroleeditor.cpp
@@ -90,6 +90,7 @@ void KItemListRoleEditor::keyPressEvent(QKeyEvent* event)
event->accept();
return;
}
+ break;
case Qt::Key_Backtab:
case Qt::Key_Up:
if (m_allowUpDownKeyChainEdit || event->key() == Qt::Key_Backtab) {
@@ -97,6 +98,7 @@ void KItemListRoleEditor::keyPressEvent(QKeyEvent* event)
event->accept();
return;
}
+ break;
case Qt::Key_Left:
case Qt::Key_Right: {
QTextCursor cursor = textCursor();