diff --git a/src/libs/vpatterndb/vpiecepath.cpp b/src/libs/vpatterndb/vpiecepath.cpp index e54a3d580..6d32d31eb 100644 --- a/src/libs/vpatterndb/vpiecepath.cpp +++ b/src/libs/vpatterndb/vpiecepath.cpp @@ -1167,7 +1167,8 @@ QString VPiecePath::NodeName(const QVector &nodes, int nodeIndex, co QSharedPointer obj = data->GetGObject(nodes.at(nodeIndex).GetId()); return obj->name(); } - catch (VExceptionBadId) { + catch (const VExceptionBadId& ) + { // ignore } return QString();