diff options
Diffstat (limited to 'node/helpnode.cpp')
| -rw-r--r-- | node/helpnode.cpp | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/node/helpnode.cpp b/node/helpnode.cpp index 6108e4d..d5fc2c9 100644 --- a/node/helpnode.cpp +++ b/node/helpnode.cpp @@ -29,9 +29,16 @@ void HelpNode::run(ExecutionNode* previous) m_nextNode->run(this); } } -QString HelpNode::toString() const +QString HelpNode::toString(bool wl) const { - return QObject::tr("Rolisteam Dice Parser:\nFull documentation at: %1 \n").arg(m_path); + if(wl) + { + return QString("%1 [label=\"Rolisteam Dice Parser:\nFull documentation at: %2\"]").arg(m_id).arg(m_path); + } + else + { + return m_id; + } } qint64 HelpNode::getPriority() const |