aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4functionobject.cpp
diff options
context:
space:
mode:
authorErik Larsson <[email protected]>2014-03-01 07:28:29 +0100
committerThe Qt Project <[email protected]>2014-03-13 21:40:43 +0100
commitf3d8386bcd784c2693d0fcc10f9b621de80f7ae0 (patch)
tree54e76f2ed1acf7310683004cfd7c32167f5a582a /src/qml/jsruntime/qv4functionobject.cpp
parent5e75ee31289accc1c1ae266b331ccb094319dbf0 (diff)
Fix crash in qml/qmlscene when using dummy-data with imports
When using the tools qml and qmlscene with dummy-data it will crash or behave wrong, due to the dummy-data component will get the state not ready, if the dummy-data qml-files does an import of another folder or a js-file. By changing the way of loading dummy-data, by letting QQmlComponent handle the file opening instead of using the setData() method, qmlscene and qml will be able to handle this type of dummy-data. The tool qml also needed to load the dummy data before loading the regular components, otherwise the dummy-data would not be ready for the other components to use. Task-number: QTBUG-32721 Change-Id: Ia1cc2b2626187e23c7d7313be788202d91b12471 Reviewed-by: Alan Alpert <[email protected]>
Diffstat (limited to 'src/qml/jsruntime/qv4functionobject.cpp')
0 files changed, 0 insertions, 0 deletions