summaryrefslogtreecommitdiff
path: root/src/plugins/pythoneditor/pythoneditorfactory.cpp
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@digia.com>2013-05-30 16:20:17 +0200
committerDavid Schulz <david.schulz@digia.com>2013-05-31 13:53:09 +0200
commitd2571548f81f3249f00a22b61d03ac9d03fcf058 (patch)
treeeeef6384e56fe8d8adb8eebd9202fa604645a1ac /src/plugins/pythoneditor/pythoneditorfactory.cpp
parent9647ce6932aaebc2c096544eacca7bb8ec56e7de (diff)
downloadqt-creator-d2571548f81f3249f00a22b61d03ac9d03fcf058.tar.gz
Remove unneeded IEditorFactor::open re-implementations.
Change-Id: I261bc1ee09a2c22155e4874a4429a868d837c256 Reviewed-by: hjk <hjk121@nokiamail.com> Reviewed-by: David Schulz <david.schulz@digia.com>
Diffstat (limited to 'src/plugins/pythoneditor/pythoneditorfactory.cpp')
-rw-r--r--src/plugins/pythoneditor/pythoneditorfactory.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/plugins/pythoneditor/pythoneditorfactory.cpp b/src/plugins/pythoneditor/pythoneditorfactory.cpp
index 5afe99883d..5dc783f6ae 100644
--- a/src/plugins/pythoneditor/pythoneditorfactory.cpp
+++ b/src/plugins/pythoneditor/pythoneditorfactory.cpp
@@ -56,16 +56,6 @@ QString EditorFactory::displayName() const
return tr(Constants::C_EDITOR_DISPLAY_NAME);
}
-Core::IDocument *EditorFactory::open(const QString &fileName)
-{
- Core::IEditor *iface = Core::EditorManager::instance()->openEditor(fileName, id());
- if (!iface) {
- qWarning() << "CEditorFactory::open: openEditor failed for " << fileName;
- return 0;
- }
- return iface->document();
-}
-
Core::IEditor *EditorFactory::createEditor(QWidget *parent)
{
EditorWidget *widget = new EditorWidget(parent);