Commit 4eedda04 authored by hjk's avatar hjk

debugger: make breakpoint marker clickable

Change-Id: Id04d63cbc57ab835721ee2d6aa7b4cb836d496db
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent 021b64b5
......@@ -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);
......
......@@ -48,6 +48,8 @@ public:
void updateFileName(const QString &fileName);
bool isDraggable() const { return true; }
void dragToLine(int lineNumber);
bool isClickable() const { return true; }
void clicked();
private:
BreakpointModelId m_id;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment