summaryrefslogtreecommitdiff
path: root/src/plugins/pythoneditor/pythoneditorwidget.cpp
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@digia.com>2013-12-12 15:07:54 +0100
committerEike Ziller <eike.ziller@digia.com>2013-12-18 11:34:34 +0100
commit1adab4c4ccdce0e7e651284df16315059c34ff1e (patch)
treed69ffa3b00fe8d4884ebbc6cf4bf1bfa99fac994 /src/plugins/pythoneditor/pythoneditorwidget.cpp
parente035ae6df1cdd3ac2e57fe60dfa92243c5a7964f (diff)
downloadqt-creator-1adab4c4ccdce0e7e651284df16315059c34ff1e.tar.gz
Merge BaseTextEditorWidget::editorDocument() and ::baseTextDocument()
Doesn't really make sense to have the additional IDocument *editorDocument() method. Change-Id: I0a7420eb1afaa76f63c3f7e9c4b373acf624ffb9 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Diffstat (limited to 'src/plugins/pythoneditor/pythoneditorwidget.cpp')
-rw-r--r--src/plugins/pythoneditor/pythoneditorwidget.cpp2
1 files changed, 1 insertions, 1 deletions
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()