From 6a52868cddb30e25788de317575f6d4dd29f8f9d Mon Sep 17 00:00:00 2001 From: hjk Date: Wed, 30 Jul 2014 15:10:56 +0200 Subject: TextEditor: Update tab settings for all tab changes Not just for selected documents. This also removes the need for the separate setupAsPlainTextDocument function. Change-Id: I51a04eebbad37a7598068ce6e157a53c1519464f Reviewed-by: Christian Stenger Reviewed-by: hjk --- src/plugins/texteditor/plaintexteditorfactory.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/plugins/texteditor/plaintexteditorfactory.cpp') diff --git a/src/plugins/texteditor/plaintexteditorfactory.cpp b/src/plugins/texteditor/plaintexteditorfactory.cpp index 66b989269d..2bcbc2a0fc 100644 --- a/src/plugins/texteditor/plaintexteditorfactory.cpp +++ b/src/plugins/texteditor/plaintexteditorfactory.cpp @@ -62,7 +62,6 @@ PlainTextEditorFactory::PlainTextEditorFactory(QObject *parent) Core::IEditor *PlainTextEditorFactory::createEditor() { auto doc = new BaseTextDocument; - doc->setupAsPlainTextDocument(); doc->setId(Core::Constants::K_DEFAULT_TEXT_EDITOR_ID); doc->setIndenter(new NormalIndenter); auto widget = new BaseTextEditorWidget(doc); -- cgit v1.2.1