diff options
Diffstat (limited to 'tests/auto/render/qframegraphnode/tst_qframegraphnode.cpp')
-rw-r--r-- | tests/auto/render/qframegraphnode/tst_qframegraphnode.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/render/qframegraphnode/tst_qframegraphnode.cpp b/tests/auto/render/qframegraphnode/tst_qframegraphnode.cpp index 5b15d73c2..8573c47a8 100644 --- a/tests/auto/render/qframegraphnode/tst_qframegraphnode.cpp +++ b/tests/auto/render/qframegraphnode/tst_qframegraphnode.cpp @@ -41,7 +41,7 @@ class MyFrameGraphNode : public Qt3DRender::QFrameGraphNode { Q_OBJECT public: - explicit MyFrameGraphNode(Qt3DCore::QNode *parent = Q_NULLPTR) + explicit MyFrameGraphNode(Qt3DCore::QNode *parent = nullptr) : QFrameGraphNode(parent) { } @@ -58,7 +58,7 @@ private Q_SLOTS: QScopedPointer<Qt3DRender::QFrameGraphNode> defaultFrameGraphNode(new MyFrameGraphNode); QVERIFY(defaultFrameGraphNode->isEnabled()); - QVERIFY(defaultFrameGraphNode->parentFrameGraphNode() == Q_NULLPTR); + QVERIFY(defaultFrameGraphNode->parentFrameGraphNode() == nullptr); } void checkCloning_data() |