forked from qt-creator/qt-creator
BaseTextmark: Remove never called function
The implementation probably is broken anyway Change-Id: I54adaed8b699057f75daf7ee48bd0d8f9e885d20 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -123,20 +123,4 @@ void BaseTextMark::updateMarker()
|
|||||||
m_markableInterface->updateMark(this);
|
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
|
} // namespace TextEditor
|
||||||
|
|||||||
@@ -65,8 +65,6 @@ public:
|
|||||||
QString fileName() const { return m_fileName; }
|
QString fileName() const { return m_fileName; }
|
||||||
int lineNumber() const { return m_line; }
|
int lineNumber() const { return m_line; }
|
||||||
|
|
||||||
void moveMark(const QString &filename, int line);
|
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
void init();
|
void init();
|
||||||
void editorOpened(Core::IEditor *editor);
|
void editorOpened(Core::IEditor *editor);
|
||||||
|
|||||||
Reference in New Issue
Block a user