Initialize VisualDataModel v8 object constructor on demand.
authorAndrew den Exter <andrew.den-exter@nokia.com>
Wed, 28 Mar 2012 05:28:33 +0000 (15:28 +1000)
committerQt by Nokia <qt-info@nokia.com>
Mon, 21 May 2012 05:52:05 +0000 (07:52 +0200)
commitcd5df3ec6fdb79260ca5bddff4f3eda9717bd70b
treed4d42864574a124bcc791322fae8f03446f36766
parentf242e50a9f60ec09b415c8ae922c4b26f4d22009
Initialize VisualDataModel v8 object constructor on demand.

Avoid allocating data that isn't needed.

Change-Id: I6f1d55f535599516a8b5e711f977e81afd337bd6
Reviewed-by: Martin Jones <martin.jones@nokia.com>
src/quick/items/qquickvisualdatamodel.cpp
src/quick/items/qquickvisualdatamodel_p_p.h