aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node/sortresult.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'node/sortresult.cpp')
-rw-r--r--node/sortresult.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/node/sortresult.cpp b/node/sortresult.cpp
index 727810e..ffece63 100644
--- a/node/sortresult.cpp
+++ b/node/sortresult.cpp
@@ -112,10 +112,14 @@ void SortResultNode::setSortAscending(bool asc)
}
QString SortResultNode::toString(bool wl) const
{
-if(wl)
- return QString("SortResultNode [label=\"SortResultNode %1\"").arg(m_ascending ? "Ascending":"Descending");
-else
- return QString("SortResultNode");
+ if(wl)
+ {
+ return QString("%1 [label=\"SortResultNode %2\"]").arg(m_id).arg(m_ascending ? "Ascending":"Descending");
+ }
+ else
+ {
+ return m_id;
+ }
}
qint64 SortResultNode::getPriority() const