aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@qt.io>2018-02-02 10:24:57 +0100
committerFrederik Gladhorn <frederik.gladhorn@qt.io>2018-02-06 09:10:16 +0000
commitb1a2c519af2592beeaf1dfccdae2ec245492c92b (patch)
tree658b70586b02f5e1a5198fdd521b357c75f3053b /tests
parent9e9131118cc12c2b77d1177407da1a353e26f466 (diff)
QQmlDelegateModel: check incubationTask before accessing itwip/itemviews
A QQmlDelegateModelItem will have its incubation task removed when the item has finished loading. So we need to check that it exists before trying to access it. And we know that the item is ready (and not in error state) if the item still exists in the cache. Change-Id: If25dca6b5902c491f5061b8d5d84046a72a8029b Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions