From 3c61cbb5dfdf8cad583ccf4b3402c80591062afe Mon Sep 17 00:00:00 2001 From: Aurindam Jana Date: Wed, 28 Sep 2011 17:55:48 +0200 Subject: Debugger: Change BreakpointOnSignalHandler to BreakpointOnQMLSignalHandler Change-Id: Ic71299c38863cdb55862ced7348b2bdc9cf39555 Reviewed-on: http://codereview.qt-project.org/5743 Reviewed-by: Qt Sanity Bot Reviewed-by: Friedemann Kleint Reviewed-by: Kai Koehne --- src/plugins/debugger/qml/qmlv8debuggerclient.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/debugger/qml/qmlv8debuggerclient.cpp') diff --git a/src/plugins/debugger/qml/qmlv8debuggerclient.cpp b/src/plugins/debugger/qml/qmlv8debuggerclient.cpp index 24fd4e1523..b0b7c59e12 100644 --- a/src/plugins/debugger/qml/qmlv8debuggerclient.cpp +++ b/src/plugins/debugger/qml/qmlv8debuggerclient.cpp @@ -315,7 +315,7 @@ void QmlV8DebuggerClient::activateFrame(int index) bool QmlV8DebuggerClient::acceptsBreakpoint(const BreakpointModelId &id) { BreakpointType type = d->engine->breakHandler()->breakpointData(id).type; - return ((type == BreakpointOnSignalHandler) || (type == BreakpointByFunction)); + return (type == BreakpointOnQmlSignalHandler || type == BreakpointByFunction); } void QmlV8DebuggerClient::insertBreakpoint(const BreakpointModelId &id) @@ -333,7 +333,7 @@ void QmlV8DebuggerClient::insertBreakpoint(const BreakpointModelId &id) } else if (handler->breakpointData(id).type == BreakpointByFunction) { JsonInputStream(request) << "type" << ':' << "function"; JsonInputStream(request) << ',' << "target" << ':' << handler->functionName(id).toUtf8(); - } else if (handler->breakpointData(id).type == BreakpointOnSignalHandler) { + } else if (handler->breakpointData(id).type == BreakpointOnQmlSignalHandler) { JsonInputStream(request) << "type" << ':' << "event"; JsonInputStream(request) << ',' << "target" << ':' << handler->functionName(id).toUtf8(); } -- cgit v1.2.1