diff options
author | Frederik Gladhorn <frederik.gladhorn@digia.com> | 2012-10-19 12:52:01 (GMT) |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-11-08 10:35:04 (GMT) |
commit | 708985baa7753ad12aad986b4ab175f49b922be9 (patch) | |
tree | 79cb7292766e555dfacc99a43615cc85b46eeeea /tests/auto/qpainter | |
parent | c309d424f45dc0e7b62fbbbabf20dbfe355f48a7 (diff) | |
download | Qt-708985baa7753ad12aad986b4ab175f49b922be9.zip Qt-708985baa7753ad12aad986b4ab175f49b922be9.tar.gz Qt-708985baa7753ad12aad986b4ab175f49b922be9.tar.bz2 |
Accessibility: itemviews check for valid model.
The problem is that isValid() should return true as
soon as we have a view widget.
That sadly means we need to verify that the model is still
valid whenever accessing it.
This is a backport of the Qt 5 patch
(I9237528abf2f5c75a73382525103307e9ca15f05)
Change-Id: I9237528abf2f5c75a73382525103307e9ca15f05
Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com>
Diffstat (limited to 'tests/auto/qpainter')
0 files changed, 0 insertions, 0 deletions