From 1e5b595923090bd19f4e5a04a5055b23e1e8678a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Mon, 22 Jul 2019 01:44:19 +0200 Subject: [PATCH] NOISSUE fix build failures --- application/groupview/AccessibleGroupView.cpp | 6 +++--- 1 file 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;