From 1edceea8bcd7339b19a767e38339916c1082a6ce Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Thu, 26 Mar 2020 12:23:33 +0200 Subject: [PATCH] error: 'QLatin1Literal' is deprecated: Use QLatin1String. --- src/libs/vtools/dialogs/tools/dialogtool.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libs/vtools/dialogs/tools/dialogtool.cpp b/src/libs/vtools/dialogs/tools/dialogtool.cpp index ee514bfd0..79e6aab56 100644 --- a/src/libs/vtools/dialogs/tools/dialogtool.cpp +++ b/src/libs/vtools/dialogs/tools/dialogtool.cpp @@ -419,10 +419,10 @@ QString DialogTool::GetNodeName(const VPieceNode &node, bool showPassmarkDetails name += QLatin1Char('|'); break; case PassmarkLineType::TwoLines: - name += QLatin1Literal("||"); + name += QLatin1String("||"); break; case PassmarkLineType::ThreeLines: - name += QLatin1Literal("|||"); + name += QLatin1String("|||"); break; case PassmarkLineType::TMark: name += QStringLiteral("┴");