mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5101 clang-format: Adjusted penalties
Use lower absolute values to improve control of behavior
This commit is contained in:
@@ -49,8 +49,8 @@ public:
|
||||
|
||||
bool prepareToExecute()
|
||||
{
|
||||
auto contextViewer = dynamic_cast<RiuViewer*>(
|
||||
caf::CmdFeatureManager::instance()->currentContextMenuTargetWidget() );
|
||||
auto contextViewer =
|
||||
dynamic_cast<RiuViewer*>( caf::CmdFeatureManager::instance()->currentContextMenuTargetWidget() );
|
||||
|
||||
if ( contextViewer )
|
||||
{
|
||||
|
||||
@@ -68,8 +68,8 @@ void RicUnLinkViewFeature::onActionTriggered( bool isChecked )
|
||||
{
|
||||
viewController->applyRangeFilterCollectionByUserChoice();
|
||||
delete viewController;
|
||||
viewLinker->removeViewController(
|
||||
nullptr ); // Remove the slots in the vector that was set to nullptr by the destructor
|
||||
viewLinker->removeViewController( nullptr ); // Remove the slots in the vector that was set to nullptr by the
|
||||
// destructor
|
||||
}
|
||||
else if ( viewLinker )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user