From b95a49e7555e36dab10dc583e9297699fd05e196 Mon Sep 17 00:00:00 2001 From: Magne Sjaastad Date: Fri, 23 May 2025 09:10:06 +0200 Subject: [PATCH] Build fix for Qt 6.9 --- .../ProjectDataModel/RimCustomObjectiveFunctionWeight.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ApplicationLibCode/ProjectDataModel/RimCustomObjectiveFunctionWeight.cpp b/ApplicationLibCode/ProjectDataModel/RimCustomObjectiveFunctionWeight.cpp index 6c4019944f..4d4d852a21 100644 --- a/ApplicationLibCode/ProjectDataModel/RimCustomObjectiveFunctionWeight.cpp +++ b/ApplicationLibCode/ProjectDataModel/RimCustomObjectiveFunctionWeight.cpp @@ -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( m_objectiveFunction() ).text() ) .arg( addressVector.size() > 1 ? "(" : "" ) .arg( QString::fromStdString( RifEclipseSummaryAddress::generateStringFromAddresses( addressVector, " + " ) ) )