Fix missing string argument.

(cherry picked from commit 649113da92)
This commit is contained in:
Roman Telezhynskyi 2023-01-15 17:57:33 +02:00
parent f4113dbd9c
commit 0d50387980

View File

@ -271,7 +271,7 @@ qreal VPieceNode::GetSAAfter(const VContainer *data, Unit unit) const
catch (const VExceptionBadId &) catch (const VExceptionBadId &)
{} {}
const QString errorMsg = QObject::tr("Cannot calculate seam allowance after for point '%1'. Reason: ") const QString errorMsg = QObject::tr("Cannot calculate seam allowance after for point '%1'. Reason: %2.")
.arg(nodeName, formula.Reason()); .arg(nodeName, formula.Reason());
VAbstractApplication::VApp()->IsPedantic() ? throw VException(errorMsg) : VAbstractApplication::VApp()->IsPedantic() ? throw VException(errorMsg) :
qWarning() << VAbstractValApplication::warningMessageSignature + errorMsg; qWarning() << VAbstractValApplication::warningMessageSignature + errorMsg;