summaryrefslogtreecommitdiff
path: root/src/plugins/pythoneditor/pythoneditor.cpp
diff options
context:
space:
mode:
authorhjk <hjk121@nokiamail.com>2014-08-19 00:54:45 +0200
committerhjk <hjk121@nokiamail.com>2014-08-19 10:32:12 +0200
commitc5fae0e8dac0a5a5466d8cc3bb0bc81ce2d625b8 (patch)
treeb75d2581adb69730cbd5dd4ddf3ce004d2b500e4 /src/plugins/pythoneditor/pythoneditor.cpp
parentd2ec7d80d92952262b164068b52f63e39e259f7c (diff)
downloadqt-creator-c5fae0e8dac0a5a5466d8cc3bb0bc81ce2d625b8.tar.gz
TextEditor: Further *Editor/*EditorWidget disentangling
In most cases, the *Editor constructor does not need to access the *EditorWidget. Change-Id: I1f5c076a0f723d5d82b398e8c250c7bd1d47eb17 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Diffstat (limited to 'src/plugins/pythoneditor/pythoneditor.cpp')
-rw-r--r--src/plugins/pythoneditor/pythoneditor.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/pythoneditor/pythoneditor.cpp b/src/plugins/pythoneditor/pythoneditor.cpp
index f7a85c828b..0522fcbc3b 100644
--- a/src/plugins/pythoneditor/pythoneditor.cpp
+++ b/src/plugins/pythoneditor/pythoneditor.cpp
@@ -47,8 +47,7 @@
namespace PythonEditor {
namespace Internal {
-PythonEditor::PythonEditor(PythonEditorWidget *editorWidget)
- :BaseTextEditor(editorWidget)
+PythonEditor::PythonEditor()
{
setContext(Core::Context(Constants::C_PYTHONEDITOR_ID,
TextEditor::Constants::C_TEXTEDITOR));