diff options
author | hjk <hjk121@nokiamail.com> | 2014-07-30 15:10:56 +0200 |
---|---|---|
committer | hjk <hjk121@nokiamail.com> | 2014-07-30 16:21:43 +0200 |
commit | 6a52868cddb30e25788de317575f6d4dd29f8f9d (patch) | |
tree | 35f4d198a2be25f7f73bd0a6f62021eeb377bca5 /src/plugins/texteditor/plaintexteditorfactory.cpp | |
parent | 1924fdb90f8851bae4ba8d0648603dd53f5d64ae (diff) | |
download | qt-creator-6a52868cddb30e25788de317575f6d4dd29f8f9d.tar.gz |
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 <christian.stenger@digia.com>
Reviewed-by: hjk <hjk121@nokiamail.com>
Diffstat (limited to 'src/plugins/texteditor/plaintexteditorfactory.cpp')
-rw-r--r-- | src/plugins/texteditor/plaintexteditorfactory.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
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); |