diff options
author | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2018-02-02 10:24:57 +0100 |
---|---|---|
committer | Frederik Gladhorn <frederik.gladhorn@qt.io> | 2018-02-06 09:10:16 +0000 |
commit | b1a2c519af2592beeaf1dfccdae2ec245492c92b (patch) | |
tree | 658b70586b02f5e1a5198fdd521b357c75f3053b /src/qmldebug/qqmlprofilerclient_p.h | |
parent | 9e9131118cc12c2b77d1177407da1a353e26f466 (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 'src/qmldebug/qqmlprofilerclient_p.h')
0 files changed, 0 insertions, 0 deletions