Build fix for Qt 6.9

This commit is contained in:
Magne Sjaastad committed 2025-05-26 11:17:53 +02:00
1 parent 7ec304e011
commit b95a49e755
1 file changed
+1 -1
@@ -75,7 +75,7 @@ QString RimCustomObjectiveFunctionWeight::title() const
addressVector.push_back( address->address() );
}
return QString( "%0 * %1::%2%3%4" )
.arg( m_weightValue, 0, 'f', 2 )
.arg( m_weightValue(), 0, 'f', 2 )
.arg( caf::AppEnum<RimObjectiveFunction::FunctionType>( m_objectiveFunction() ).text() )
.arg( addressVector.size() > 1 ? "(" : "" )
.arg( QString::fromStdString( RifEclipseSummaryAddress::generateStringFromAddresses( addressVector, " + " ) ) )