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

Remove BaseTextMark::m_init



It is never read

Change-Id: I6ac6279f8c80d5bf40c02db1ae7534230b74ceff
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent a0e90ad2
......@@ -43,7 +43,7 @@
namespace TextEditor {
BaseTextMark::BaseTextMark()
: m_markableInterface(0), m_init(false)
: m_markableInterface(0)
{}
BaseTextMark::~BaseTextMark()
......@@ -65,7 +65,6 @@ void BaseTextMark::setLocation(const QString &fileName, int line)
void BaseTextMark::init()
{
m_init = true;
Core::EditorManager *em = Core::EditorManager::instance();
connect(em, SIGNAL(editorOpened(Core::IEditor *)),
SLOT(editorOpened(Core::IEditor *)));
......
......@@ -78,7 +78,6 @@ private:
QPointer<ITextMarkable> m_markableInterface;
QString m_fileName;
int m_line;
bool m_init;
};
} // namespace TextEditor
......
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