path: root/src/3rdparty
diff options
authorJan Arve Saether <>2013-09-11 11:09:40 +0200
committerThe Qt Project <>2013-09-18 11:28:22 +0200
commite39d629ebe9044b505ac35eaae3ab9c214d452a2 (patch)
tree0e7ba800a55ccb29f791ad7e9653370a739bb306 /src/3rdparty
parentaf61b7312e2701bc89bdb78d6a8d8984c59c673f (diff)
Include hidden headers in trees and tables consistently
There was a disagreement between the a11y plugin and QTreeView whether the horizontal header should have been exposed or not. When the header was hidden, this resulted in that we sent an event with a child id that was wrong, or in worst case higher than QAI::childrenCount(). This was the reason we got the warning output as described in the task. With this commit, we consistently *expose* hidden headers both for QTreeView and QTableView, but ensure that their state().invisible is set to true instead. This makes it consistent with how hidden cells are exposed. This also fixes a bug in QTableViewPrivate::accessibleTable2Index where we always added 1 to the index, which was spotted while writing the test. Task-number: QTBUG-33247 Change-Id: Ifd1f83d56296dd071424fdb81fce7628bc24fe0a Reviewed-by: Frederik Gladhorn <>
Diffstat (limited to 'src/3rdparty')
0 files changed, 0 insertions, 0 deletions