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:
@@ -76,7 +76,7 @@ bool RimColorLegendCollection::isStandardColorLegend( RimColorLegend* legend )
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimColorLegendCollection::deleteCustomColorLegends()
|
||||
{
|
||||
m_customColorLegends.deleteAllChildObjects();
|
||||
m_customColorLegends.deleteChildren();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@@ -138,13 +138,13 @@ std::vector<RimColorLegend*> RimColorLegendCollection::allColorLegends() const
|
||||
{
|
||||
std::vector<RimColorLegend*> allLegends;
|
||||
|
||||
auto standardLegends = m_standardColorLegends.childObjects();
|
||||
auto standardLegends = m_standardColorLegends.children();
|
||||
for ( auto l : standardLegends )
|
||||
{
|
||||
allLegends.push_back( l );
|
||||
}
|
||||
|
||||
auto customLegends = m_customColorLegends.childObjects();
|
||||
auto customLegends = m_customColorLegends.children();
|
||||
for ( auto l : customLegends )
|
||||
{
|
||||
allLegends.push_back( l );
|
||||
|
||||
Reference in New Issue
Block a user