mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
clang-format: Set column width to 140
* Set column width to 140 * Use c++20 * Remove redundant virtual
This commit is contained in:
@@ -116,8 +116,7 @@ void RimViewLinker::updateTimeStep( Rim3dView* sourceView, int timeStep )
|
||||
{
|
||||
if ( !viewController->isTimeStepLinked() ) continue;
|
||||
|
||||
if ( viewController->managedView() && viewController->managedView() != sourceView &&
|
||||
viewController->managedView()->viewer() )
|
||||
if ( viewController->managedView() && viewController->managedView() != sourceView && viewController->managedView()->viewer() )
|
||||
{
|
||||
viewController->managedView()->viewer()->setCurrentFrame( timeStep );
|
||||
}
|
||||
@@ -187,8 +186,7 @@ void RimViewLinker::updateCellResult()
|
||||
|
||||
if ( viewController->isLegendDefinitionsControlled() )
|
||||
{
|
||||
geoView->cellResult()->legendConfig()->setUiValuesFromLegendConfig(
|
||||
masterGeoView->cellResult()->legendConfig() );
|
||||
geoView->cellResult()->legendConfig()->setUiValuesFromLegendConfig( masterGeoView->cellResult()->legendConfig() );
|
||||
geoView->cellResult()->legendConfig()->updateLegend();
|
||||
}
|
||||
|
||||
@@ -545,8 +543,7 @@ void RimViewLinker::updateCursorPosition( const Rim3dView* sourceView, const cvf
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimViewLinker::onChildDeleted( caf::PdmChildArrayFieldHandle* childArray,
|
||||
std::vector<caf::PdmObjectHandle*>& referringObjects )
|
||||
void RimViewLinker::onChildDeleted( caf::PdmChildArrayFieldHandle* childArray, std::vector<caf::PdmObjectHandle*>& referringObjects )
|
||||
{
|
||||
RimViewLinkerCollection* viewLinkerCollection = nullptr;
|
||||
this->firstAncestorOrThisOfType( viewLinkerCollection );
|
||||
|
||||
Reference in New Issue
Block a user