diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2012-05-14 11:56:36 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-14 23:44:21 +0200 |
commit | dbcbce68850c388db65c6541705d41c9b5acea15 (patch) | |
tree | 9f2308bb2229536a32d93899e71436655ee4317e /src/qml/qml/qqmlboundsignal.cpp | |
parent | 7eb5f7b3e0630d59bfa7e4e185df6f34c237e584 (diff) |
Don't pass the expression string to the signal handler profiler.
Working towards removing the need to store a copy of the expression
string in the expression.
Author: Christiaan Janssen <christiaan.janssen@nokia.com>
Change-Id: I2cedfcf455c9aa4f1fb2ed422533945371038c58
Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
Diffstat (limited to 'src/qml/qml/qqmlboundsignal.cpp')
-rw-r--r-- | src/qml/qml/qqmlboundsignal.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlboundsignal.cpp b/src/qml/qml/qqmlboundsignal.cpp index 17237d4b78..b3d07c3a12 100644 --- a/src/qml/qml/qqmlboundsignal.cpp +++ b/src/qml/qml/qqmlboundsignal.cpp @@ -289,7 +289,7 @@ void QQmlBoundSignal::subscriptionCallback(QQmlNotifierEndpoint *e, void **a) if (QQmlDebugService::isDebuggingEnabled()) QV8DebugService::instance()->signalEmitted(QString::fromLatin1(s->m_scope->metaObject()->method(s->m_index).methodSignature())); - QQmlHandlingSignalProfiler prof(*(s->m_scope), s->m_index, s->m_expression); + QQmlHandlingSignalProfiler prof(s->m_expression); s->setIsEvaluating(true); |