aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlbinding.cpp
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@digia.com>2014-12-18 10:37:22 +0100
committerErik Verbruggen <erik.verbruggen@theqtcompany.com>2015-01-09 10:46:03 +0100
commita7c183b1afbace47cd7bf7df46a8e689a01044de (patch)
tree7a418e683c979fae2d25c08c040d914ae0fe1c32 /src/qml/qml/qqmlbinding.cpp
parentca977a0c8fa25d5df4dbddba08bc2fb022df7c1c (diff)
Remove QQmlTrace. We have a real profiler.
Change-Id: I50d981b277187327c2c63f8372f64db1300ed9ef Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/qml/qqmlbinding.cpp')
-rw-r--r--src/qml/qml/qqmlbinding.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/qml/qml/qqmlbinding.cpp b/src/qml/qml/qqmlbinding.cpp
index 61bcb260f7..3eb3870b96 100644
--- a/src/qml/qml/qqmlbinding.cpp
+++ b/src/qml/qml/qqmlbinding.cpp
@@ -39,7 +39,6 @@
#include "qqmlcompiler_p.h"
#include "qqmldata_p.h"
#include <private/qqmlprofiler_p.h>
-#include <private/qqmltrace_p.h>
#include <private/qqmlexpression_p.h>
#include <private/qqmlscriptstring_p.h>
#include <private/qqmlcontextwrapper_p.h>
@@ -188,11 +187,6 @@ void QQmlBinding::update(QQmlPropertyPrivate::WriteFlags flags)
int lineNo = qmlSourceCoordinate(lineNumber);
int columnNo = qmlSourceCoordinate(columnNumber);
- QQmlTrace trace("General Binding Update");
- trace.addDetail("URL", url);
- trace.addDetail("Line", lineNo);
- trace.addDetail("Column", columnNo);
-
if (!updatingFlag()) {
QQmlBindingProfiler prof(ep->profiler, url, lineNo, columnNo);
setUpdatingFlag(true);
@@ -216,8 +210,6 @@ void QQmlBinding::update(QQmlPropertyPrivate::WriteFlags flags)
QV4::ScopedValue result(scope, QQmlJavaScriptExpression::evaluate(context(), f, &isUndefined));
- trace.event("writing binding result");
-
bool needsErrorLocationData = false;
if (!watcher.wasDeleted() && !hasError())
needsErrorLocationData = !QQmlPropertyPrivate::writeBinding(*m_coreObject, m_core, context(),