diff options
Diffstat (limited to 'node/executionnode.cpp')
| -rw-r--r-- | node/executionnode.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/node/executionnode.cpp b/node/executionnode.cpp index 0cb9c0b..dba56fc 100644 --- a/node/executionnode.cpp +++ b/node/executionnode.cpp @@ -32,8 +32,15 @@ ExecutionNode* ExecutionNode::getNextNode() { return m_nextNode; } -QList<ExecutionNode::ERROR_CODE> ExecutionNode::getErrorList() +QMap<ExecutionNode::ERROR_CODE,QString> ExecutionNode::getExecutionErrorMap() { + if(NULL!=m_nextNode) + { + foreach (ExecutionNode::ERROR_CODE key, m_nextNode->getExecutionErrorMap().keys()) + { + m_errors.insert(key,m_nextNode->getExecutionErrorMap().value(key)); + } + } return m_errors; } QString ExecutionNode::getHelp() |