summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qsyntaxhighlighter.h
diff options
context:
space:
mode:
authorAlessandro Portale <alessandro.portale@qt.io>2018-08-07 17:07:05 +0200
committerAlessandro Portale <alessandro.portale@qt.io>2018-09-25 14:34:42 +0000
commit8d26f701456332427d0d42e342458bc4249aad4f (patch)
tree9c8e1764fdf973b3319b0dd8ebad263d54122d06 /src/gui/text/qsyntaxhighlighter.h
parent264ad32827f3e65bd2730f6e4e6a22d41209b5b9 (diff)
Remove excess "virtual" keyword from destructors in Qt Gui
Destructors whose base class have a virtual destructor are automatically virtual and do not need to be marked as such. Change-Id: I84c73ab965077bbb03f4213e53c241569213cae0 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src/gui/text/qsyntaxhighlighter.h')
-rw-r--r--src/gui/text/qsyntaxhighlighter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/text/qsyntaxhighlighter.h b/src/gui/text/qsyntaxhighlighter.h
index d87f89f0fd..ad0d50a4c0 100644
--- a/src/gui/text/qsyntaxhighlighter.h
+++ b/src/gui/text/qsyntaxhighlighter.h
@@ -64,7 +64,7 @@ class Q_GUI_EXPORT QSyntaxHighlighter : public QObject
public:
explicit QSyntaxHighlighter(QObject *parent);
explicit QSyntaxHighlighter(QTextDocument *parent);
- virtual ~QSyntaxHighlighter();
+ ~QSyntaxHighlighter();
void setDocument(QTextDocument *doc);
QTextDocument *document() const;