summaryrefslogtreecommitdiff
path: root/examples/xmlpatterns/shared/xmlsyntaxhighlighter.h
diff options
context:
space:
mode:
authorGatis Paeglis <gatis.paeglis@qt.io>2017-09-19 13:30:48 (GMT)
committerGatis Paeglis <gatis.paeglis@qt.io>2017-09-26 08:46:52 (GMT)
commit9e26cfa167778f3d9444aedcb23c8476683b3785 (patch)
tree2eb7beb467cbe69f7ec5987e03c1dff8a490fcd2 /examples/xmlpatterns/shared/xmlsyntaxhighlighter.h
parent189c0c1ad9ae2dee6359ec0cde6049fdf4c6aaf1 (diff)
downloadqtxmlpatterns-9e26cfa167778f3d9444aedcb23c8476683b3785.tar.gz
examples: minor code revamping in recipesv5.10.0-beta3v5.10.0-beta2v5.10.0-beta1
Task-number: QTBUG-60660 Change-Id: I396f64c770f4ccbf5b2bbd6240ccb4618df70b23 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'examples/xmlpatterns/shared/xmlsyntaxhighlighter.h')
-rw-r--r--examples/xmlpatterns/shared/xmlsyntaxhighlighter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/xmlpatterns/shared/xmlsyntaxhighlighter.h b/examples/xmlpatterns/shared/xmlsyntaxhighlighter.h
index 7a104d5..bdd379c 100644
--- a/examples/xmlpatterns/shared/xmlsyntaxhighlighter.h
+++ b/examples/xmlpatterns/shared/xmlsyntaxhighlighter.h
@@ -47,7 +47,7 @@
class XmlSyntaxHighlighter : public QSyntaxHighlighter
{
public:
- XmlSyntaxHighlighter(QTextDocument *parent = 0);
+ explicit XmlSyntaxHighlighter(QTextDocument *parent = nullptr);
protected:
virtual void highlightBlock(const QString &text);