From a3608f595ad13f8925ad797da8ca7ddec6e36051 Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Thu, 9 Jan 2014 14:47:00 +0100 Subject: 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 --- src/plugins/cpptools/cpppointerdeclarationformatter_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/cpptools/cpppointerdeclarationformatter_test.cpp') 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 editorWidget( - new TextEditor::PlainTextEditorWidget(0)); + new TextEditor::PlainTextEditorWidget); QString error; editorWidget->open(&error, document->fileName(), document->fileName()); QVERIFY(error.isEmpty()); -- cgit v1.2.1