summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/glsleditor/glsleditoreditable.cpp5
-rw-r--r--src/plugins/glsleditor/glsleditoreditable.h1
-rw-r--r--src/plugins/pythoneditor/pythoneditor.cpp5
-rw-r--r--src/plugins/pythoneditor/pythoneditor.h1
4 files changed, 0 insertions, 12 deletions
diff --git a/src/plugins/glsleditor/glsleditoreditable.cpp b/src/plugins/glsleditor/glsleditoreditable.cpp
index f999ca6825..c5586110f0 100644
--- a/src/plugins/glsleditor/glsleditoreditable.cpp
+++ b/src/plugins/glsleditor/glsleditoreditable.cpp
@@ -50,10 +50,5 @@ GLSLEditorEditable::GLSLEditorEditable(GLSLTextEditorWidget *editor)
TextEditor::Constants::C_TEXTEDITOR));
}
-Core::Id GLSLEditorEditable::preferredModeType() const
-{
- return Core::Id();
-}
-
} // namespace Internal
} // namespace GLSLEditor
diff --git a/src/plugins/glsleditor/glsleditoreditable.h b/src/plugins/glsleditor/glsleditoreditable.h
index 9ef2ec797b..3e6ce0a529 100644
--- a/src/plugins/glsleditor/glsleditoreditable.h
+++ b/src/plugins/glsleditor/glsleditoreditable.h
@@ -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
diff --git a/src/plugins/pythoneditor/pythoneditor.cpp b/src/plugins/pythoneditor/pythoneditor.cpp
index c66e1fe393..629e326e2f 100644
--- a/src/plugins/pythoneditor/pythoneditor.cpp
+++ b/src/plugins/pythoneditor/pythoneditor.cpp
@@ -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)
diff --git a/src/plugins/pythoneditor/pythoneditor.h b/src/plugins/pythoneditor/pythoneditor.h
index 1ca117458f..435fb08560 100644
--- a/src/plugins/pythoneditor/pythoneditor.h
+++ b/src/plugins/pythoneditor/pythoneditor.h
@@ -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