Commit 27c4c1a7 authored by hjk's avatar hjk

fix crash dur to double deletion when text containing the debugger

location was removed from an editor
parent c82263ac
......@@ -151,20 +151,18 @@ class Debugger::Internal::LocationMark
public:
LocationMark(const QString &fileName, int linenumber)
: BaseTextMark(fileName, linenumber)
{
}
{}
~LocationMark();
QIcon icon() const;
void updateLineNumber(int /*lineNumber*/) {}
void updateBlock(const QTextBlock & /*block*/) {}
void removedFromEditor() { deleteLater(); }
private:
void removedFromEditor() {}
};
LocationMark::~LocationMark()
{
//qDebug() << "LOCATIONMARK DESTRUCTOR" << m_editor;
//qDebug() << "LOCATIONMARK DESTRUCTOR";
}
QIcon LocationMark::icon() const
......
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