diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp
index d9217069c6849858e9737a54d2f20a7f6b3394df..0d0cf13c62da36a78c804f7100acb0fa3acf3fff 100644
--- a/src/plugins/debugger/debuggerplugin.cpp
+++ b/src/plugins/debugger/debuggerplugin.cpp
@@ -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