mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Rename several child() and children() functions
This commit is contained in:
@@ -47,7 +47,7 @@ Rim2dIntersectionViewCollection::~Rim2dIntersectionViewCollection()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
std::vector<Rim2dIntersectionView*> Rim2dIntersectionViewCollection::views()
|
||||
{
|
||||
return m_intersectionViews.childObjects();
|
||||
return m_intersectionViews.children();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@@ -73,7 +73,7 @@ void Rim2dIntersectionViewCollection::syncFromExistingIntersections( bool doUpda
|
||||
|
||||
// Clean up the container by removing nullptr's
|
||||
|
||||
m_intersectionViews.removeChildObject( nullptr );
|
||||
m_intersectionViews.removeChild( nullptr );
|
||||
|
||||
// Build map from intersection to view
|
||||
|
||||
@@ -84,7 +84,7 @@ void Rim2dIntersectionViewCollection::syncFromExistingIntersections( bool doUpda
|
||||
intersectionToViewMap[iv->intersection()] = iv;
|
||||
}
|
||||
|
||||
m_intersectionViews.clear(); // Not deleting the views. The are managed by the map
|
||||
m_intersectionViews.clearWithoutDelete(); // Not deleting the views. The are managed by the map
|
||||
|
||||
// Insert the old views in correct order, and create new views as we go
|
||||
|
||||
|
||||
Reference in New Issue
Block a user