From 321b22faba8094028c23bcc5539831b7523f2bc6 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Wed, 5 Apr 2017 13:42:59 +0300 Subject: [PATCH] Show in the main path marks for T and V passmarks. --HG-- branch : develop --- src/libs/vtools/dialogs/tools/dialogtool.cpp | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/libs/vtools/dialogs/tools/dialogtool.cpp b/src/libs/vtools/dialogs/tools/dialogtool.cpp index 2019e1254..87eb81526 100644 --- a/src/libs/vtools/dialogs/tools/dialogtool.cpp +++ b/src/libs/vtools/dialogs/tools/dialogtool.cpp @@ -586,13 +586,19 @@ QString DialogTool::GetNodeName(const VPieceNode &node, bool showPassmark) const switch(node.GetPassmarkLineType()) { case PassmarkLineType::OneLine: - name += QLatin1String("^"); + name += QLatin1Char('|'); break; case PassmarkLineType::TwoLines: - name += QLatin1String("^^"); + name += QLatin1Literal("||"); break; case PassmarkLineType::ThreeLines: - name += QLatin1String("^^^"); + name += QLatin1Literal("|||"); + break; + case PassmarkLineType::TMark: + name += QString("┴"); + break; + case PassmarkLineType::VMark: + name += QLatin1Char('^'); break; default: break;