Commit dfc0ee64 authored by hjk's avatar hjk Committed by David Schulz

Editors: No need to re-implement functions identical to base

Change-Id: Ibdd3147cc2a64407802fa237b7943d2e96c9003b
Reviewed-by: default avatarDavid Schulz <david.schulz@digia.com>
parent 569d29dc
......@@ -50,10 +50,5 @@ GLSLEditorEditable::GLSLEditorEditable(GLSLTextEditorWidget *editor)
TextEditor::Constants::C_TEXTEDITOR));
}
Core::Id GLSLEditorEditable::preferredModeType() const
{
return Core::Id();
}
} // namespace Internal
} // namespace GLSLEditor
......@@ -49,7 +49,6 @@ public:
Core::Id id() const;
bool isTemporary() const { return false; }
bool open(QString *errorString, const QString &fileName, const QString &realFileName);
Core::Id preferredModeType() const;
};
} // namespace Internal
......
......@@ -74,11 +74,6 @@ Core::Id PythonEditor::id() const
return Core::Id(Constants::C_PYTHONEDITOR_ID);
}
Core::Id PythonEditor::preferredModeType() const
{
return Core::Id();
}
bool PythonEditor::open(QString *errorString,
const QString &fileName,
const QString &realFileName)
......
......@@ -50,7 +50,6 @@ public:
Core::Id id() const;
bool isTemporary() const { return false; }
Core::Id preferredModeType() const;
/**
Opens file for editing, actual work performed by base class
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment