fix crash dur to double deletion when text containing the debugger

location was removed from an editor
This commit is contained in:
hjk
2008-12-12 17:49:52 +01:00
parent c82263ac99
commit 27c4c1a7aa

View File

@@ -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