NOISSUE fix build failures
This commit is contained in:
parent
d6c6653872
commit
1e5b595923
@ -46,7 +46,7 @@ bool AccessibleGroupView::isValid() const
|
|||||||
|
|
||||||
AccessibleGroupView::~AccessibleGroupView()
|
AccessibleGroupView::~AccessibleGroupView()
|
||||||
{
|
{
|
||||||
for (QAccessible::Id id : qAsConst(childToId)) {
|
for (QAccessible::Id id : childToId) {
|
||||||
QAccessible::deleteAccessibleInterface(id);
|
QAccessible::deleteAccessibleInterface(id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -246,7 +246,7 @@ bool AccessibleGroupView::selectColumn(int column)
|
|||||||
if (view()->selectionBehavior() != QAbstractItemView::SelectColumns && rowCount() > 1) {
|
if (view()->selectionBehavior() != QAbstractItemView::SelectColumns && rowCount() > 1) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
Q_FALLTHROUGH();
|
// fallthrough intentional
|
||||||
}
|
}
|
||||||
case QAbstractItemView::ContiguousSelection: {
|
case QAbstractItemView::ContiguousSelection: {
|
||||||
if ((!column || !view()->selectionModel()->isColumnSelected(column - 1, view()->rootIndex())) && !view()->selectionModel()->isColumnSelected(column + 1, view()->rootIndex())) {
|
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()) {
|
switch (event->modelChangeType()) {
|
||||||
case QAccessibleTableModelChangeEvent::ModelReset:
|
case QAccessibleTableModelChangeEvent::ModelReset:
|
||||||
for (QAccessible::Id id : qAsConst(childToId))
|
for (QAccessible::Id id : childToId)
|
||||||
QAccessible::deleteAccessibleInterface(id);
|
QAccessible::deleteAccessibleInterface(id);
|
||||||
childToId.clear();
|
childToId.clear();
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user