Replaced use of capability template with convenience

This commit is contained in:
Jacob Støren
2015-08-20 15:24:49 +02:00
parent 0ac86aeff3
commit f174615098
5 changed files with 9 additions and 9 deletions

View File

@@ -62,7 +62,7 @@ QString CmdAddItemExec::name()
PdmChildArrayFieldHandle* listField = dynamic_cast<PdmChildArrayFieldHandle*>(field);
if (listField)
{
PdmXmlFieldHandle* xfh = listField->capability<PdmXmlFieldHandle>();
PdmXmlFieldHandle* xfh = listField->xmlCapability();
containedObjectType = xfh->childClassKeyword();
}