diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2017-10-23 15:19:09 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2017-10-23 19:43:32 +0000 |
commit | 4d452d5dff2d12a9a44277798f2a70902a3d1891 (patch) | |
tree | 3055096e4ac3268ca357f9b9407d9433ccc85f1a /src/imports/templates | |
parent | e04b7c4b7ba2808215825de23cd6d6606cb9102f (diff) |
QQuickIconImage: fix crash with image providers
QQuickImageBase::load() cannot call until the component creation is
completed, because it requires an associated QML engine. All calls to
updateIcon() are guarded with the appropriate isComponentComplete()
check, but the sourceSizeChanged() signal was connected directly to
updateIcon(). Establish the signal-slot connection at component
completion to avoid calling updateIcon() to soon.
Task-number: QTBUG-63959
Change-Id: I3c935291796dbae031d2728e1d51c55596a51cd0
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/imports/templates')
0 files changed, 0 insertions, 0 deletions