summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2019-07-22 01:44:19 +0200
committerPetr Mrázek <peterix@gmail.com>2019-07-22 01:44:19 +0200
commit1e5b595923090bd19f4e5a04a5055b23e1e8678a (patch)
tree8d6a6a6ab10139523d60bf969849f000d8548348
parentd6c665387233e894a27c0b33e4b49e5d1d229aeb (diff)
downloadMultiMC-1e5b595923090bd19f4e5a04a5055b23e1e8678a.tar
MultiMC-1e5b595923090bd19f4e5a04a5055b23e1e8678a.tar.gz
MultiMC-1e5b595923090bd19f4e5a04a5055b23e1e8678a.tar.lz
MultiMC-1e5b595923090bd19f4e5a04a5055b23e1e8678a.tar.xz
MultiMC-1e5b595923090bd19f4e5a04a5055b23e1e8678a.zip
NOISSUE fix build failures
-rw-r--r--application/groupview/AccessibleGroupView.cpp6
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;