diff --git a/src/plugins/support/CellMLSupport/src/cellmlfileruntime.cpp b/src/plugins/support/CellMLSupport/src/cellmlfileruntime.cpp index 6106404fcd..ba2f51377b 100644 --- a/src/plugins/support/CellMLSupport/src/cellmlfileruntime.cpp +++ b/src/plugins/support/CellMLSupport/src/cellmlfileruntime.cpp @@ -388,7 +388,7 @@ void CellmlFileRuntime::update(CellmlFile *pCellmlFile, bool pAll) // really want it to be seen as a rate hence we check for // the degree of the computed target... - if (QString::fromStdWString(variable->initialValue()).isEmpty()) { + if (variable->initialValue().empty()) { // The computed target doesn't have an initial value, so it // must be a 'computed' constant