diff options
author | Eike Ziller <eike.ziller@digia.com> | 2014-01-09 14:47:00 +0100 |
---|---|---|
committer | Eike Ziller <eike.ziller@digia.com> | 2014-01-10 14:31:11 +0100 |
commit | a3608f595ad13f8925ad797da8ca7ddec6e36051 (patch) | |
tree | 36c938f90c33c40d1c9b7140ede62eaa51885388 /src/plugins/cpptools/cpppointerdeclarationformatter_test.cpp | |
parent | 498d19810449997e7d716cbd1cf6393fa8f93918 (diff) | |
download | qt-creator-a3608f595ad13f8925ad797da8ca7ddec6e36051.tar.gz |
Editors: Remove BaseTextEditorWidget::setBaseTextDocument
First step in never changing the text document after construction,
because that is actually not really supported.
Second step will be to fix that for the editor duplicate() methods too.
Change-Id: I3d112ba0895e7ee7ac6dd8ae2318f0de7d2cebc9
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
Diffstat (limited to 'src/plugins/cpptools/cpppointerdeclarationformatter_test.cpp')
-rw-r--r-- | src/plugins/cpptools/cpppointerdeclarationformatter_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cpptools/cpppointerdeclarationformatter_test.cpp b/src/plugins/cpptools/cpppointerdeclarationformatter_test.cpp index cb9e11f3ef..1212ea0060 100644 --- a/src/plugins/cpptools/cpppointerdeclarationformatter_test.cpp +++ b/src/plugins/cpptools/cpppointerdeclarationformatter_test.cpp @@ -104,7 +104,7 @@ public: // Open file QScopedPointer<TextEditor::BaseTextEditorWidget> editorWidget( - new TextEditor::PlainTextEditorWidget(0)); + new TextEditor::PlainTextEditorWidget); QString error; editorWidget->open(&error, document->fileName(), document->fileName()); QVERIFY(error.isEmpty()); |