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/cpptools/cpppointerdeclarationformatter_test.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/cpptools/cpppointerdeclarationformatter_test.cpp')
-rw-r--r-- | src/plugins/cpptools/cpppointerdeclarationformatter_test.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/cpptools/cpppointerdeclarationformatter_test.cpp b/src/plugins/cpptools/cpppointerdeclarationformatter_test.cpp index ffaa7c6679..03619884bc 100644 --- a/src/plugins/cpptools/cpppointerdeclarationformatter_test.cpp +++ b/src/plugins/cpptools/cpppointerdeclarationformatter_test.cpp @@ -103,7 +103,6 @@ public: // Open file auto textDocument = new TextEditor::BaseTextDocument; - textDocument->setupAsPlainTextDocument(); textDocument->setId(Core::Constants::K_DEFAULT_TEXT_EDITOR_ID); TextEditor::BaseTextEditorWidget editorWidget(textDocument); editorWidget.setupAsPlainEditor(); |