From d8d047b75172dc4cf3abd38152d5181ef83975b8 Mon Sep 17 00:00:00 2001 From: Andrew den Exter Date: Mon, 2 Apr 2012 13:20:04 +1000 Subject: 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 --- src/qml/qml/qqmlvme_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qml/qml/qqmlvme_p.h') 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: -- cgit v1.2.3