summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/imports/scxmlstatemachine/invokedservices.cpp2
-rw-r--r--src/imports/scxmlstatemachine/statemachineextended.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/imports/scxmlstatemachine/invokedservices.cpp b/src/imports/scxmlstatemachine/invokedservices.cpp
index 6011557..5bdb4f0 100644
--- a/src/imports/scxmlstatemachine/invokedservices.cpp
+++ b/src/imports/scxmlstatemachine/invokedservices.cpp
@@ -116,7 +116,7 @@ void QScxmlInvokedServices::setStateMachine(QScxmlStateMachine *stateMachine)
QQmlListProperty<QObject> QScxmlInvokedServices::qmlChildren()
{
- return QQmlListProperty<QObject>(this, m_qmlChildren);
+ return QQmlListProperty<QObject>(this, &m_qmlChildren);
}
diff --git a/src/imports/scxmlstatemachine/statemachineextended.cpp b/src/imports/scxmlstatemachine/statemachineextended.cpp
index 6b1b13b..4434931 100644
--- a/src/imports/scxmlstatemachine/statemachineextended.cpp
+++ b/src/imports/scxmlstatemachine/statemachineextended.cpp
@@ -51,7 +51,7 @@ QScxmlStateMachineExtended::QScxmlStateMachineExtended(QObject *extendee) :
QQmlListProperty<QObject> QScxmlStateMachineExtended::children()
{
- return QQmlListProperty<QObject>(this, m_children);
+ return QQmlListProperty<QObject>(this, &m_children);
}
QT_END_NAMESPACE