aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node/sortresult.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'node/sortresult.cpp')
-rw-r--r--node/sortresult.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/node/sortresult.cpp b/node/sortresult.cpp
index 76f517e..69611df 100644
--- a/node/sortresult.cpp
+++ b/node/sortresult.cpp
@@ -129,7 +129,8 @@ QString SortResultNode::toString(bool wl) const
{
if(wl)
{
- return QString("%1 [label=\"SortResultNode %2\"]").arg(m_id).arg(m_ascending ? "Ascending":"Descending");
+ auto order = m_ascending ? QStringLiteral("Ascending") : QStringLiteral("Descending");
+ return QString("%1 [label=\"SortResultNode %2\"]").arg(m_id, order);
}
else
{