summaryrefslogtreecommitdiff
path: root/src/plugins/glsleditor
diff options
context:
space:
mode:
authorhjk <hjk121@nokiamail.com>2013-05-25 00:12:23 +0200
committerDavid Schulz <david.schulz@digia.com>2013-05-27 08:25:47 +0200
commitdfc0ee6456f3f72c0ad77846f17b910e4cf48d03 (patch)
tree0b1f5c60ab755eb542321189ad0131a689f14050 /src/plugins/glsleditor
parent569d29dc3eeabaec5dd312f5d9e35a9a8f54ab5c (diff)
downloadqt-creator-dfc0ee6456f3f72c0ad77846f17b910e4cf48d03.tar.gz
Editors: No need to re-implement functions identical to base
Change-Id: Ibdd3147cc2a64407802fa237b7943d2e96c9003b Reviewed-by: David Schulz <david.schulz@digia.com>
Diffstat (limited to 'src/plugins/glsleditor')
-rw-r--r--src/plugins/glsleditor/glsleditoreditable.cpp5
-rw-r--r--src/plugins/glsleditor/glsleditoreditable.h1
2 files changed, 0 insertions, 6 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