some renamings.

This commit is contained in:
2025-09-27 17:21:36 +02:00
parent 6b675cb85e
commit 4996c03b39
10 changed files with 76 additions and 46 deletions

View File

@@ -42,7 +42,7 @@ void XQItemFactory::initItemFactory( const QString& modelSheetFileName )
throw XQException("modelSheet load failed. ", modelSheetFileName);
// schritt #3: itemtype beschreibungen laden ...
_typesSheet = _modelSheet->find_child_by_tag_name( "ItemTypes" );
_typesSheet = _modelSheet->child( "ItemTypes" );
// ... und testen
if( !_typesSheet )
throw XQException( "initItemFactory <ItemTypes> is null" );
@@ -114,7 +114,7 @@ XQItemType* XQItemFactory::findItemTypeTemplate(const QString& key ) const
XQNodePtr XQItemFactory::findModelSheet( const QString& modelName ) const
{
XQNodePtr modelSheet = _modelSheet->find_child_by_tag_name( modelName );
XQNodePtr modelSheet = _modelSheet->child( modelName );
if( !modelSheet )
throw XQException( "model sheet not found: ", modelName );