From d6a956b7facc0890063cc9b06fa7362c87498e6d Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Mon, 11 Sep 2017 11:45:38 +0300 Subject: [PATCH] Improve VDomDocument::CollectId warning message. --HG-- branch : develop --- src/libs/ifc/xml/vdomdocument.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/ifc/xml/vdomdocument.cpp b/src/libs/ifc/xml/vdomdocument.cpp index 924e6b652..21ad7f939 100644 --- a/src/libs/ifc/xml/vdomdocument.cpp +++ b/src/libs/ifc/xml/vdomdocument.cpp @@ -594,7 +594,7 @@ void VDomDocument::CollectId(const QDomElement &node, QVector &vector) const quint32 id = GetParametrId(node); 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); }