summaryrefslogtreecommitdiff
path: root/src/plugins/pythoneditor/pythoneditor.cpp
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@digia.com>2014-09-02 12:25:20 +0200
committerhjk <hjk121@nokiamail.com>2014-09-02 16:48:13 +0200
commit7224ccb2e7bab5b7bca88cbcd41829fdf3c25165 (patch)
tree6c3bc438bf4e68ce06cf5afd8950d235b0bd391e /src/plugins/pythoneditor/pythoneditor.cpp
parentcae737e6291d8349602cd9bd2e109abd0292e5af (diff)
downloadqt-creator-7224ccb2e7bab5b7bca88cbcd41829fdf3c25165.tar.gz
Editors: Automatically add editor/document id to context and use that
instead of manually adding a context everywhere. Change-Id: I4336015a6d19349171a255e949da89b0013d6700 Reviewed-by: hjk <hjk121@nokiamail.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 103165e283..06a968032d 100644
--- a/src/plugins/pythoneditor/pythoneditor.cpp
+++ b/src/plugins/pythoneditor/pythoneditor.cpp
@@ -62,7 +62,6 @@ class PythonEditor : public BaseTextEditor
public:
PythonEditor()
{
- addContext(Constants::C_PYTHONEDITOR_ID);
setDuplicateSupported(true);
}