diff options
author | Andrew den Exter <andrew.den-exter@nokia.com> | 2012-04-02 13:20:04 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-24 02:41:06 +0200 |
commit | d8d047b75172dc4cf3abd38152d5181ef83975b8 (patch) | |
tree | f808f3986529f4637ee1025708844d13ddc466b2 /src/qml/qml/qqmlvme_p.h | |
parent | afbde67c01baad017cf7ed385a6415e137269e9e (diff) |
Contruct per-delegate QQmlContextData directly.
The QQmlContext object created per item is a weighty (QObject) wrapper
around QQmlContextData that isn't utilized except as an intermeditrary
for the QQmlComponent API. By duplicating a little code out of
QQmlComponent we can avoid the need to ever contruct the wrapper.
Change-Id: I74558c7e746ead2c5127a8754d5f04550b8f4d10
Reviewed-by: Martin Jones <martin.jones@nokia.com>
Diffstat (limited to 'src/qml/qml/qqmlvme_p.h')
-rw-r--r-- | src/qml/qml/qqmlvme_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlvme_p.h b/src/qml/qml/qqmlvme_p.h index 844f2cc98b..4d49b79259 100644 --- a/src/qml/qml/qqmlvme_p.h +++ b/src/qml/qml/qqmlvme_p.h @@ -90,7 +90,7 @@ namespace QQmlVMETypes { } Q_DECLARE_TYPEINFO(QQmlVMETypes::List, Q_PRIMITIVE_TYPE | Q_MOVABLE_TYPE); -class QQmlVME +class Q_QML_PRIVATE_EXPORT QQmlVME { Q_DECLARE_TR_FUNCTIONS(QQmlVME) public: |