diff options
Diffstat (limited to 'src/plugins/debugger/qml/qmlcppengine.cpp')
| -rw-r--r-- | src/plugins/debugger/qml/qmlcppengine.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/plugins/debugger/qml/qmlcppengine.cpp b/src/plugins/debugger/qml/qmlcppengine.cpp index 9882b7deb2..b65e9d8a44 100644 --- a/src/plugins/debugger/qml/qmlcppengine.cpp +++ b/src/plugins/debugger/qml/qmlcppengine.cpp @@ -30,8 +30,10 @@ #include "qmlcppengine.h" #include "qmlengine.h" + #include <debugger/debuggerruncontrol.h> #include <debugger/debuggerstartparameters.h> +#include <debugger/breakhandler.h> #include <debugger/stackhandler.h> #include <debugger/watchhandler.h> @@ -244,10 +246,10 @@ void QmlCppEngine::attemptBreakpointSynchronization() } } -bool QmlCppEngine::acceptsBreakpoint(BreakpointModelId id) const +bool QmlCppEngine::acceptsBreakpoint(Breakpoint bp) const { - return m_cppEngine->acceptsBreakpoint(id) - || m_qmlEngine->acceptsBreakpoint(id); + return m_cppEngine->acceptsBreakpoint(bp) + || m_qmlEngine->acceptsBreakpoint(bp); } void QmlCppEngine::selectThread(ThreadId threadId) |
