diff options
| author | 2026-03-15 11:42:31 +0100 | |
|---|---|---|
| committer | 2026-03-15 10:57:32 +0000 | |
| commit | 6a91d28cf161e5a121d7bc09453e23455a109cbb (patch) | |
| tree | b69f9c82098dd52863c3d22fc52953eb432bc4c7 /src/libparser/node/uniquenode.cpp | |
| parent | ef1e7c6d4244f60094d2c703324f0490320277af (diff) | |
| download | OneRoll-6a91d28cf161e5a121d7bc09453e23455a109cbb.tar.gz OneRoll-6a91d28cf161e5a121d7bc09453e23455a109cbb.zip | |
[tree]: improve tree generation
Diffstat (limited to 'src/libparser/node/uniquenode.cpp')
| -rw-r--r-- | src/libparser/node/uniquenode.cpp | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/libparser/node/uniquenode.cpp b/src/libparser/node/uniquenode.cpp index e5ede7b..30d8567 100644 --- a/src/libparser/node/uniquenode.cpp +++ b/src/libparser/node/uniquenode.cpp @@ -21,7 +21,7 @@ ***************************************************************************/ #include "uniquenode.h" -UniqueNode::UniqueNode() : m_diceResult(new DiceResult()) +UniqueNode::UniqueNode() : ExecutionNode("%1 [label=\"UniqueNode Node\"]"), m_diceResult(new DiceResult()) { m_result= m_diceResult; } @@ -58,17 +58,6 @@ void UniqueNode::run(ExecutionNode* previous) } } -QString UniqueNode::toString(bool withLabel) const -{ - if(withLabel) - { - return QString("%1 [label=\"UniqueNode Node\"]").arg(m_id); - } - else - { - return m_id; - } -} qint64 UniqueNode::getPriority() const { qint64 priority= 0; |