Merge pull request #1128 from pandaninjas/fix-implicit-fallthrough

This commit is contained in:
Sefa Eyeoglu
2023-07-07 15:19:00 +02:00
parent bab7105820
commit 6f1d594f1c
15 changed files with 45 additions and 35 deletions

View File

@ -248,8 +248,8 @@ bool AccessibleInstanceView::selectColumn(int column)
if (view()->selectionBehavior() != QAbstractItemView::SelectColumns && rowCount() > 1) {
return false;
}
// fallthrough intentional
}
/* fallthrough */
case QAbstractItemView::ContiguousSelection: {
if ((!column || !view()->selectionModel()->isColumnSelected(column - 1, view()->rootIndex())) && !view()->selectionModel()->isColumnSelected(column + 1, view()->rootIndex())) {
view()->clearSelection();