Commit 844c734d authored by hjk's avatar hjk

CppEditor: Move revisionVisible construction to constructor

Change-Id: I6462403d2d06c7c6c3f79627fbba80f0ce0683ef
Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@digia.com>
parent 8a31388f
......@@ -198,6 +198,7 @@ void CppEditorWidget::ctor()
setParenthesesMatchingEnabled(true);
setMarksVisible(true);
setCodeFoldingSupported(true);
setRevisionsVisible(true);
if (d->m_modelManager) {
CppEditorSupport *editorSupport = d->m_modelManager->cppEditorSupport(editor());
......
......@@ -98,7 +98,6 @@ CppEditorFactory::CppEditorFactory(CppEditorPlugin *owner) :
IEditor *CppEditorFactory::createEditor()
{
CppEditorWidget *editor = new CppEditorWidget();
editor->setRevisionsVisible(true);
m_owner->initializeEditor(editor);
return editor->editor();
}
......
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