diff options
Diffstat (limited to 'node/helpnode.cpp')
| -rw-r--r-- | node/helpnode.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/node/helpnode.cpp b/node/helpnode.cpp index 30fa904..4425969 100644 --- a/node/helpnode.cpp +++ b/node/helpnode.cpp @@ -68,3 +68,13 @@ void HelpNode::setHelpPath(QString path) { m_path = path; } + +ExecutionNode* HelpNode::getCopy() const +{ + HelpNode* node = new HelpNode(); + if(NULL!=m_nextNode) + { + node->setNextNode(m_nextNode->getCopy()); + } + return node; +} |