mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-06 05:16:59 +03:00
Merge pull request #1128 from pandaninjas/fix-implicit-fallthrough
This commit is contained in:
parent
bab7105820
commit
6f1d594f1c
15 changed files with 45 additions and 35 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue