aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node/sortresult.cpp
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2019-01-05 18:17:17 +0100
committerRenaud G <renaud@rolisteam.org>2019-01-05 18:17:17 +0100
commit0fcbfc01baf4dc8fc42fe9a40033be14808c2c7f (patch)
treeaa3eac1c1d87d49d133a28916d0c49b901af5578 /node/sortresult.cpp
parent0ead8d42d93ee5d91519f006a84a942109bf4f36 (diff)
downloadOneRoll-0fcbfc01baf4dc8fc42fe9a40033be14808c2c7f.tar.gz
OneRoll-0fcbfc01baf4dc8fc42fe9a40033be14808c2c7f.zip
clazy warnings
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
{