summaryrefslogtreecommitdiff
path: root/src/plugins/glsleditor
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@theqtcompany.com>2016-02-29 12:33:34 +0100
committerTobias Hunger <tobias.hunger@theqtcompany.com>2016-02-29 12:52:09 +0000
commit102135a7681805ac5d38e2a46ccf7afe8d2a423e (patch)
tree82974b297498e59aee947e24c919d473470e1289 /src/plugins/glsleditor
parent4eeb9dc0c3363b591c2dd650e35d61c52ba6979c (diff)
downloadqt-creator-102135a7681805ac5d38e2a46ccf7afe8d2a423e.tar.gz
GLSL: Fix warnings about inconsistent use of override
Change-Id: Ice4cf80141c5cb3c250c1c01fb70e6db8d1abe29 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Diffstat (limited to 'src/plugins/glsleditor')
-rw-r--r--src/plugins/glsleditor/glslindenter.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/glsleditor/glslindenter.h b/src/plugins/glsleditor/glslindenter.h
index 98ba0002ca..499c99a164 100644
--- a/src/plugins/glsleditor/glslindenter.h
+++ b/src/plugins/glsleditor/glslindenter.h
@@ -37,16 +37,16 @@ public:
GlslIndenter();
virtual ~GlslIndenter();
- virtual bool isElectricCharacter(const QChar &ch) const;
+ virtual bool isElectricCharacter(const QChar &ch) const override;
virtual void indentBlock(QTextDocument *doc,
const QTextBlock &block,
const QChar &typedChar,
- const TextEditor::TabSettings &tabSettings);
+ const TextEditor::TabSettings &tabSettings) override;
virtual void indent(QTextDocument *doc,
const QTextCursor &cursor,
const QChar &typedChar,
- const TextEditor::TabSettings &tabSettings);
+ const TextEditor::TabSettings &tabSettings) override;
int indentFor(const QTextBlock &block, const TextEditor::TabSettings &tabSettings) override;
};