diff options
-rw-r--r-- | application/groupview/AccessibleGroupView.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/application/groupview/AccessibleGroupView.cpp b/application/groupview/AccessibleGroupView.cpp index 03b99e31..9a1bb821 100644 --- a/application/groupview/AccessibleGroupView.cpp +++ b/application/groupview/AccessibleGroupView.cpp @@ -46,7 +46,7 @@ bool AccessibleGroupView::isValid() const AccessibleGroupView::~AccessibleGroupView() { - for (QAccessible::Id id : qAsConst(childToId)) { + for (QAccessible::Id id : childToId) { QAccessible::deleteAccessibleInterface(id); } } @@ -246,7 +246,7 @@ bool AccessibleGroupView::selectColumn(int column) if (view()->selectionBehavior() != QAbstractItemView::SelectColumns && rowCount() > 1) { return false; } - Q_FALLTHROUGH(); + // fallthrough intentional } case QAbstractItemView::ContiguousSelection: { if ((!column || !view()->selectionModel()->isColumnSelected(column - 1, view()->rootIndex())) && !view()->selectionModel()->isColumnSelected(column + 1, view()->rootIndex())) { @@ -469,7 +469,7 @@ void AccessibleGroupView::modelChange(QAccessibleTableModelChangeEvent *event) switch (event->modelChangeType()) { case QAccessibleTableModelChangeEvent::ModelReset: - for (QAccessible::Id id : qAsConst(childToId)) + for (QAccessible::Id id : childToId) QAccessible::deleteAccessibleInterface(id); childToId.clear(); break; |