From 1adab4c4ccdce0e7e651284df16315059c34ff1e Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Thu, 12 Dec 2013 15:07:54 +0100 Subject: Merge BaseTextEditorWidget::editorDocument() and ::baseTextDocument() Doesn't really make sense to have the additional IDocument *editorDocument() method. Change-Id: I0a7420eb1afaa76f63c3f7e9c4b373acf624ffb9 Reviewed-by: Eike Ziller --- src/plugins/pythoneditor/pythoneditorwidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/pythoneditor/pythoneditorwidget.cpp') diff --git a/src/plugins/pythoneditor/pythoneditorwidget.cpp b/src/plugins/pythoneditor/pythoneditorwidget.cpp index a8588e3e07..2323002d23 100644 --- a/src/plugins/pythoneditor/pythoneditorwidget.cpp +++ b/src/plugins/pythoneditor/pythoneditorwidget.cpp @@ -59,7 +59,7 @@ EditorWidget::EditorWidget(QWidget *parent) setCodeFoldingSupported(true); setIndenter(new PythonIndenter()); - new PythonHighlighter(baseTextDocument().data()); + new PythonHighlighter(baseTextDocument()); } EditorWidget::~EditorWidget() -- cgit v1.2.1