summaryrefslogtreecommitdiff
path: root/src/plugins/pythoneditor/pythoneditorfactory.cpp
diff options
context:
space:
mode:
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);