error: 'QLatin1Literal' is deprecated: Use QLatin1String.

This commit is contained in:
Roman Telezhynskyi 2020-03-26 12:23:33 +02:00
parent e0ca7e5d80
commit 1edceea8bc

View File

@ -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("");