summaryrefslogtreecommitdiff
path: root/src/plugins/debugger/breakpointmarker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/debugger/breakpointmarker.cpp')
-rw-r--r--src/plugins/debugger/breakpointmarker.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/debugger/breakpointmarker.cpp b/src/plugins/debugger/breakpointmarker.cpp
index 0821ec1063..da309cd5e0 100644
--- a/src/plugins/debugger/breakpointmarker.cpp
+++ b/src/plugins/debugger/breakpointmarker.cpp
@@ -73,6 +73,11 @@ void BreakpointMarker::dragToLine(int lineNumber)
breakHandler()->changeLineNumberFromMarker(m_id, lineNumber);
}
+void BreakpointMarker::clicked()
+{
+ breakHandler()->removeBreakpoint(m_id);
+}
+
void BreakpointMarker::updateFileName(const QString &fileName)
{
BaseTextMark::updateFileName(fileName);