diff options
| author | 2015-08-20 11:36:18 +0200 | |
|---|---|---|
| committer | 2015-08-20 11:36:18 +0200 | |
| commit | 8a1c33fb342a3609ec4d22e918c5f847c59c1b91 (patch) | |
| tree | e813b281a6c78b881b811bcb931d32232b1bd435 /node/sortresult.cpp | |
| parent | bb413e7eab871cbc377eea0ece5444d1c758481b (diff) | |
| download | OneRoll-8a1c33fb342a3609ec4d22e918c5f847c59c1b91.tar.gz OneRoll-8a1c33fb342a3609ec4d22e918c5f847c59c1b91.zip | |
start fixing dot tree generation
Diffstat (limited to 'node/sortresult.cpp')
| -rw-r--r-- | node/sortresult.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/node/sortresult.cpp b/node/sortresult.cpp index 44a25f0..727810e 100644 --- a/node/sortresult.cpp +++ b/node/sortresult.cpp @@ -110,9 +110,13 @@ void SortResultNode::setSortAscending(bool asc) { m_ascending = asc; } -QString SortResultNode::toString() const +QString SortResultNode::toString(bool wl) const { +if(wl) return QString("SortResultNode [label=\"SortResultNode %1\"").arg(m_ascending ? "Ascending":"Descending"); +else + return QString("SortResultNode"); + } qint64 SortResultNode::getPriority() const { |