aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/qml/qml/qqmlbinding.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlbinding.cpp b/src/qml/qml/qqmlbinding.cpp
index a19644fb3e..bb6eb3b723 100644
--- a/src/qml/qml/qqmlbinding.cpp
+++ b/src/qml/qml/qqmlbinding.cpp
@@ -339,7 +339,8 @@ void QQmlBinding::update(QQmlPropertyPrivate::WriteFlags flags)
if (!d->updating) {
QQmlBindingProfiler prof(d->url, d->line, d->column);
- prof.addDetail(expression());
+ if (prof.enabled)
+ prof.addDetail(expression());
d->updating = true;
QQmlAbstractExpression::DeleteWatcher watcher(d);