summaryrefslogtreecommitdiff
path: root/src/plugins/debugger/script/scriptengine.cpp
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2011-06-24 16:25:30 +0200
committerhjk <qthjk@ovi.com>2011-06-27 09:14:25 +0200
commitc04128675385eeb3c358691952db05311478751a (patch)
tree65b29e014333c94d238bac53018e80055156392f /src/plugins/debugger/script/scriptengine.cpp
parentc4713f5ab229dcbb55eeabfc3dfb4cf3ba9d392a (diff)
downloadqt-creator-c04128675385eeb3c358691952db05311478751a.tar.gz
debugger: split BreakpointIndex into plugin and debugger specific part
Change-Id: I21d10cf42eb039c74475e106537b6e107d155196 Reviewed-on: http://codereview.qt.nokia.com/745 Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'src/plugins/debugger/script/scriptengine.cpp')
-rw-r--r--src/plugins/debugger/script/scriptengine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/debugger/script/scriptengine.cpp b/src/plugins/debugger/script/scriptengine.cpp
index 238bf0a32a..7a3c972907 100644
--- a/src/plugins/debugger/script/scriptengine.cpp
+++ b/src/plugins/debugger/script/scriptengine.cpp
@@ -447,7 +447,7 @@ void ScriptEngine::selectThread(int index)
Q_UNUSED(index)
}
-bool ScriptEngine::acceptsBreakpoint(BreakpointId id) const
+bool ScriptEngine::acceptsBreakpoint(BreakpointModelId id) const
{
const QString fileName = breakHandler()->fileName(id);
return fileName.endsWith(QLatin1String(".js"));
@@ -622,7 +622,7 @@ bool ScriptEngine::checkForBreakCondition(bool byFunction)
if (byFunction && functionName.isEmpty())
return false;
BreakHandler *handler = breakHandler();
- BreakpointId id = byFunction ?
+ BreakpointModelId id = byFunction ?
handler->findBreakpointByFunction(functionName) :
handler->findBreakpointByFileAndLine(fileName, lineNumber, false);