Improve VDomDocument::CollectId warning message.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2017-09-11 11:45:38 +03:00
parent 4ca0139af0
commit d6a956b7fa

View File

@ -594,7 +594,7 @@ void VDomDocument::CollectId(const QDomElement &node, QVector<quint32> &vector)
const quint32 id = GetParametrId(node); const quint32 id = GetParametrId(node);
if (vector.contains(id)) if (vector.contains(id))
{ {
throw VExceptionWrongId(tr("This id is not unique."), node); throw VExceptionWrongId(QString("This id (%1) is not unique.").arg(id), node);
} }
vector.append(id); vector.append(id);
} }