summaryrefslogtreecommitdiff
path: root/src/plugins/pythoneditor/pythoneditor.cpp
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@digia.com>2014-03-05 15:58:12 +0100
committerEike Ziller <eike.ziller@digia.com>2014-03-05 16:27:52 +0100
commit5dd8d7cd9c04909df1644ba415c578db1e157ba1 (patch)
treeb7db95ce4bf2ff2b91a7ef566a1e2935a6dd7ba4 /src/plugins/pythoneditor/pythoneditor.cpp
parent424a5c14897ecdaaa12f038dc6e11836b764f516 (diff)
downloadqt-creator-5dd8d7cd9c04909df1644ba415c578db1e157ba1.tar.gz
Editors: Move id() from editor to document.
Change-Id: Ib81076842ab1c16832224790194b001206404d64 Reviewed-by: hjk <hjk121@nokiamail.com> Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Diffstat (limited to 'src/plugins/pythoneditor/pythoneditor.cpp')
-rw-r--r--src/plugins/pythoneditor/pythoneditor.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/pythoneditor/pythoneditor.cpp b/src/plugins/pythoneditor/pythoneditor.cpp
index 72ef8d99a9..e8ae93e3ae 100644
--- a/src/plugins/pythoneditor/pythoneditor.cpp
+++ b/src/plugins/pythoneditor/pythoneditor.cpp
@@ -50,7 +50,6 @@ namespace Internal {
PythonEditor::PythonEditor(EditorWidget *editorWidget)
:BaseTextEditor(editorWidget)
{
- setId(Constants::C_PYTHONEDITOR_ID);
setContext(Core::Context(Constants::C_PYTHONEDITOR_ID,
TextEditor::Constants::C_TEXTEDITOR));
}