From 0fcbfc01baf4dc8fc42fe9a40033be14808c2c7f Mon Sep 17 00:00:00 2001 From: Renaud G Date: Sat, 5 Jan 2019 18:17:17 +0100 Subject: clazy warnings --- node/sortresult.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'node/sortresult.cpp') 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 { -- cgit v1.2.3-70-g09d2