Qml: Consistently use nullptr

Fixed by clang-tidy modernize-use-nullptr.

Change-Id: Ibe0dddaacbabd47b5a0519ae361132818d5b8be2
Reviewed-by: Marco Benelli <marco.benelli@qt.io>
This commit is contained in:
Tobias Hunger
2018-05-07 17:37:42 +02:00
parent c6ba157155
commit 053e4494cf
2 changed files with 2 additions and 2 deletions

View File

@@ -64,7 +64,7 @@ public:
}; };
public: public:
FindReferences(QObject *parent = 0); FindReferences(QObject *parent = nullptr);
~FindReferences() override; ~FindReferences() override;
signals: signals:

View File

@@ -44,7 +44,7 @@ namespace QmlJSTools {
class QMLJSTOOLS_EXPORT Range class QMLJSTOOLS_EXPORT Range
{ {
public: public:
Range(): ast(0) {} Range(): ast(nullptr) {}
public: // attributes public: // attributes
QmlJS::AST::Node *ast; QmlJS::AST::Node *ast;