aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlengine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/qml/qqmlengine.cpp')
-rw-r--r--src/qml/qml/qqmlengine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlengine.cpp b/src/qml/qml/qqmlengine.cpp
index c41c1d9a54..2a35c27cc6 100644
--- a/src/qml/qml/qqmlengine.cpp
+++ b/src/qml/qml/qqmlengine.cpp
@@ -1335,7 +1335,7 @@ void QQmlEngine::setOutputWarningsToStandardError(bool enabled)
void QQmlEngine::captureProperty(QObject *object, const QMetaProperty &property) const
{
Q_D(const QQmlEngine);
- if (d->propertyCapture) {
+ if (d->propertyCapture && !property.isConstant()) {
d->propertyCapture->captureProperty(
object, property.propertyIndex(),
QMetaObjectPrivate::signalIndex(property.notifySignal()));