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:
@@ -18,7 +18,8 @@ void RimDataSourceSteppingTools::modifyCurrentIndex( caf::PdmValueField*
|
||||
{
|
||||
QVariant optionValue = options[i].value();
|
||||
// First try pointer variety. They are not supported by QVariant::operator==
|
||||
caf::PdmPointer<caf::PdmObjectHandle> optionHandle = optionValue.value<caf::PdmPointer<caf::PdmObjectHandle>>();
|
||||
caf::PdmPointer<caf::PdmObjectHandle> optionHandle =
|
||||
optionValue.value<caf::PdmPointer<caf::PdmObjectHandle>>();
|
||||
if ( optionHandle )
|
||||
{
|
||||
if ( currentHandle == optionHandle )
|
||||
|
||||
Reference in New Issue
Block a user