From 8a1c33fb342a3609ec4d22e918c5f847c59c1b91 Mon Sep 17 00:00:00 2001 From: Renaud G Date: Thu, 20 Aug 2015 11:36:18 +0200 Subject: start fixing dot tree generation --- node/sortresult.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'node/sortresult.cpp') 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 { -- cgit v1.2.3-70-g09d2