forked from qt-creator/qt-creator
CppEditor: Move revisionVisible construction to constructor
Change-Id: I6462403d2d06c7c6c3f79627fbba80f0ce0683ef Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user