Commit a3c9104e authored by David Schulz's avatar David Schulz Committed by hjk

Editor: Fix "Mark text changes" setting.

The revision markers are configured by the display
settings. There is no need to set them manually.

Task-number: QTCREATORBUG-13498
Change-Id: I99ee829d64dd23a7d24f13580a75c7c1666823f4
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent fbaa9d83
...@@ -152,7 +152,6 @@ void CppEditorWidget::finalizeInitialization() ...@@ -152,7 +152,6 @@ void CppEditorWidget::finalizeInitialization()
d->m_cppEditorDocument = qobject_cast<CppEditorDocument *>(textDocument()); d->m_cppEditorDocument = qobject_cast<CppEditorDocument *>(textDocument());
setLanguageSettingsId(CppTools::Constants::CPP_SETTINGS_ID); setLanguageSettingsId(CppTools::Constants::CPP_SETTINGS_ID);
setRevisionsVisible(true);
// function combo box sorting // function combo box sorting
connect(CppEditorPlugin::instance(), &CppEditorPlugin::outlineSortingChanged, connect(CppEditorPlugin::instance(), &CppEditorPlugin::outlineSortingChanged,
......
...@@ -7215,7 +7215,6 @@ bool TextEditorWidget::isMissingSyntaxDefinition() const ...@@ -7215,7 +7215,6 @@ bool TextEditorWidget::isMissingSyntaxDefinition() const
// The remnants of PlainTextEditor. // The remnants of PlainTextEditor.
void TextEditorWidget::setupAsPlainEditor() void TextEditorWidget::setupAsPlainEditor()
{ {
setRevisionsVisible(true);
setMarksVisible(true); setMarksVisible(true);
setLineSeparatorsAllowed(true); setLineSeparatorsAllowed(true);
......
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