aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/parser/qqmljsparser_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/parser/qqmljsparser_p.h')
-rw-r--r--src/qml/parser/qqmljsparser_p.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qml/parser/qqmljsparser_p.h b/src/qml/parser/qqmljsparser_p.h
index 9dfee70f3a..b4aecd2f08 100644
--- a/src/qml/parser/qqmljsparser_p.h
+++ b/src/qml/parser/qqmljsparser_p.h
@@ -146,7 +146,7 @@ public:
AST::Statement *statement() const
{
if (! program)
- return 0;
+ return nullptr;
return program->statementCast();
}
@@ -154,7 +154,7 @@ public:
AST::ExpressionNode *expression() const
{
if (! program)
- return 0;
+ return nullptr;
return program->expressionCast();
}
@@ -162,7 +162,7 @@ public:
AST::UiObjectMember *uiObjectMember() const
{
if (! program)
- return 0;
+ return nullptr;
return program->uiObjectMemberCast();
}