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('|'); name += QLatin1Char('|');
break; break;
case PassmarkLineType::TwoLines: case PassmarkLineType::TwoLines:
name += QLatin1Literal("||"); name += QLatin1String("||");
break; break;
case PassmarkLineType::ThreeLines: case PassmarkLineType::ThreeLines:
name += QLatin1Literal("|||"); name += QLatin1String("|||");
break; break;
case PassmarkLineType::TMark: case PassmarkLineType::TMark:
name += QStringLiteral(""); name += QStringLiteral("");