mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1670 Add const and move some functions to private section
This commit is contained in:
@@ -288,11 +288,10 @@ QList<caf::PdmOptionItemInfo> RimCellRangeFilter::calculateValueOptions(const ca
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RimCellRangeFilter::isRangeFilterControlled()
|
||||
bool RimCellRangeFilter::isRangeFilterControlled() const
|
||||
{
|
||||
RimView* rimView = NULL;
|
||||
firstAncestorOrThisOfType(rimView);
|
||||
CVF_ASSERT(rimView);
|
||||
RimView* rimView = nullptr;
|
||||
firstAncestorOrThisOfTypeAsserted(rimView);
|
||||
|
||||
bool isRangeFilterControlled = false;
|
||||
if (rimView && rimView->viewController() && rimView->viewController()->isRangeFiltersControlled())
|
||||
|
||||
Reference in New Issue
Block a user