Commit b1f3c69c authored by Daniel Teske's avatar Daniel Teske Committed by hjk
Browse files

BaseTextmark: Remove never called function



The implementation probably is broken anyway

Change-Id: I54adaed8b699057f75daf7ee48bd0d8f9e885d20
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent 8ccdb28f
......@@ -123,20 +123,4 @@ void BaseTextMark::updateMarker()
m_markableInterface->updateMark(this);
}
void BaseTextMark::moveMark(const QString & /* filename */, int /* line */)
{
Core::EditorManager *em = Core::EditorManager::instance();
if (!m_init) {
connect(em, SIGNAL(editorOpened(Core::IEditor *)),
SLOT(editorOpened(Core::IEditor *)));
m_init = true;
}
if (m_markableInterface)
m_markableInterface->removeMark(this);
foreach (Core::IEditor *editor, em->openedEditors())
editorOpened(editor);
}
} // namespace TextEditor
......@@ -65,8 +65,6 @@ public:
QString fileName() const { return m_fileName; }
int lineNumber() const { return m_line; }
void moveMark(const QString &filename, int line);
private slots:
void init();
void editorOpened(Core::IEditor *editor);
......
Supports Markdown
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