Reduced warings.
This commit is contained in:
@@ -90,7 +90,7 @@ void XQChildModel::addModelData( const XQNodePtr& contentRoot )
|
||||
if( !sheetNode->first_child()->has_children() )
|
||||
continue;
|
||||
|
||||
XQItemList childList =_itemFactory.makeChildRow( list.front(), sheetNode->first_child(), contentEntry );
|
||||
_itemFactory.makeChildRow( list.front(), sheetNode->first_child(), contentEntry );
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -156,7 +156,9 @@ XQItemList XQItemFactory::makeRow(const XQNodePtr& sheetNode, const XQNodePtr& c
|
||||
// __fix! Obacht! das setzt das vorhandensein des Contents voraus!
|
||||
|
||||
for( const auto& sheetEntry : sheetNode->children() )
|
||||
{
|
||||
list.append( makeItem( sheetEntry, contentNode ) );
|
||||
}
|
||||
|
||||
Q_ASSERT(!list.empty());
|
||||
|
||||
|
||||
@@ -133,7 +133,7 @@ void XQViewModel::initModel(const QString& modelName)
|
||||
*/
|
||||
setObjectName( modelName );
|
||||
// model rootnode finden -> <DocumentTreeModel>
|
||||
XQNodePtr modelSheet = _itemFactory.findModelSheet( modelName ); // throws
|
||||
XQNodePtr modelSheet = _itemFactory.findModelSheet( modelName ); // throws
|
||||
|
||||
// #1: über alle sections
|
||||
for( auto& sectionNode : modelSheet->children() )
|
||||
|
||||
Reference in New Issue
Block a user