Remove unneeded IEditorFactor::open re-implementations.

Change-Id: I261bc1ee09a2c22155e4874a4429a868d837c256
Reviewed-by: hjk <hjk121@nokiamail.com>
Reviewed-by: David Schulz <david.schulz@digia.com>
This commit is contained in:
Eike Ziller
2013-05-30 16:20:17 +02:00
committed by David Schulz
parent 9647ce6932
commit d2571548f8
6 changed files with 0 additions and 28 deletions

View File

@@ -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);