From cedc70618afa6826d409a64078ea1a8ede4af06c Mon Sep 17 00:00:00 2001 From: Renaud G Date: Sat, 11 Nov 2017 18:51:13 +0100 Subject: -replace NULL to nullptr. --- node/helpnode.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'node/helpnode.cpp') diff --git a/node/helpnode.cpp b/node/helpnode.cpp index 4425969..bcd7aaf 100644 --- a/node/helpnode.cpp +++ b/node/helpnode.cpp @@ -30,9 +30,9 @@ void HelpNode::run(ExecutionNode* previous) StringResult* txtResult = dynamic_cast(m_result); txtResult->setHighLight(false); - if(NULL != previous) + if(nullptr != previous) { - if(previous->getResult() == NULL) + if(previous->getResult() == nullptr) { txtResult->setText(QObject::tr("Rolisteam Dice Parser:\nFull documentation at: %1").arg(m_path)); } @@ -43,7 +43,7 @@ void HelpNode::run(ExecutionNode* previous) m_result->setPrevious(previous->getResult()); } - if(NULL!=m_nextNode) + if(nullptr!=m_nextNode) { m_nextNode->run(this); } @@ -72,7 +72,7 @@ void HelpNode::setHelpPath(QString path) ExecutionNode* HelpNode::getCopy() const { HelpNode* node = new HelpNode(); - if(NULL!=m_nextNode) + if(nullptr!=m_nextNode) { node->setNextNode(m_nextNode->getCopy()); } -- cgit v1.2.3-70-g09d2