From 01079bb4d913a86d5564f186b6f22e7cbddd440d Mon Sep 17 00:00:00 2001 From: hjk Date: Thu, 18 Sep 2014 13:19:57 +0200 Subject: [PATCH] TextEditor: Setting flags once is enough... Change-Id: I671d1b0866f2e6ef332a53228bc12b260ba6187d Reviewed-by: hjk --- src/plugins/texteditor/basetexteditor.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/plugins/texteditor/basetexteditor.cpp b/src/plugins/texteditor/basetexteditor.cpp index 0f6d13a56b3..cafa89cd1bb 100644 --- a/src/plugins/texteditor/basetexteditor.cpp +++ b/src/plugins/texteditor/basetexteditor.cpp @@ -7157,7 +7157,6 @@ void BaseTextEditorWidget::setupAsPlainEditor() setRevisionsVisible(true); setMarksVisible(true); setLineSeparatorsAllowed(true); - setLineSeparatorsAllowed(true); textDocument()->setMimeType(QLatin1String(TextEditor::Constants::C_TEXTEDITOR_MIMETYPE_TEXT));