diff options
| author | 2018-12-15 03:48:35 +0100 | |
|---|---|---|
| committer | 2018-12-15 03:48:35 +0100 | |
| commit | d442933e69771ddfdd4a6dd5f2c71526859394cb (patch) | |
| tree | 020cb4c757e033f3c036823f033320bed4c031fe /node/scalaroperatornode.cpp | |
| parent | 2eaaedebc6750d5984190fd0f87caf771b248ae0 (diff) | |
| download | OneRoll-d442933e69771ddfdd4a6dd5f2c71526859394cb.tar.gz OneRoll-d442933e69771ddfdd4a6dd5f2c71526859394cb.zip | |
fix indent.
Diffstat (limited to 'node/scalaroperatornode.cpp')
| -rw-r--r-- | node/scalaroperatornode.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/node/scalaroperatornode.cpp b/node/scalaroperatornode.cpp index ceb59ab..8172de7 100644 --- a/node/scalaroperatornode.cpp +++ b/node/scalaroperatornode.cpp @@ -194,7 +194,10 @@ qint64 ScalarOperatorNode::getPriority() const } void ScalarOperatorNode::generateDotTree(QString& s) { - s.append(toString(true)); + auto id = toString(true); + if(s.contains(id)) + return; + s.append(id); s.append(";\n"); if(nullptr!=m_nextNode) |