Don't use Q_UNUSED if we can just skip argument.
--HG-- branch : develop
This commit is contained in:
parent
504e617686
commit
add6d9facf
|
@ -1788,9 +1788,8 @@ void VPattern::ParseNodePoint(const QDomElement &domElement, const Document &par
|
||||||
{
|
{
|
||||||
point = initData.data->GeometricObject<VPointF>(initData.idObject);
|
point = initData.data->GeometricObject<VPointF>(initData.idObject);
|
||||||
}
|
}
|
||||||
catch (const VExceptionBadId &e)
|
catch (const VExceptionBadId &)
|
||||||
{ // Possible case. Parent was deleted, but the node object is still here.
|
{ // Possible case. Parent was deleted, but the node object is still here.
|
||||||
Q_UNUSED(e)
|
|
||||||
qDebug() << "Broken relation. Parent was deleted, but the node object is still here. Node point id ="
|
qDebug() << "Broken relation. Parent was deleted, but the node object is still here. Node point id ="
|
||||||
<< initData.id << ".";
|
<< initData.id << ".";
|
||||||
return;// Just ignore
|
return;// Just ignore
|
||||||
|
|
Loading…
Reference in New Issue
Block a user