mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3543 Fix Linux build problem
This commit is contained in:
parent
7b1704502d
commit
2a97359df2
@ -239,14 +239,14 @@ QList<caf::PdmOptionItemInfo>
|
|||||||
|
|
||||||
if (startStringFormat.arg(candidateWellList.join(", ")).length() < maxStringLength)
|
if (startStringFormat.arg(candidateWellList.join(", ")).length() < maxStringLength)
|
||||||
{
|
{
|
||||||
wellList.swap(candidateWellList);
|
wellList = candidateWellList;
|
||||||
}
|
}
|
||||||
|
|
||||||
QString wellStringWithPressure = QString("%1 (%2)").arg(it->second[w].first).arg(it->second[w].second);
|
QString wellStringWithPressure = QString("%1 (%2)").arg(it->second[w].first).arg(it->second[w].second);
|
||||||
QStringList candidateWellPressureList = wellPressureList; candidateWellPressureList << wellStringWithPressure;
|
QStringList candidateWellPressureList = wellPressureList; candidateWellPressureList << wellStringWithPressure;
|
||||||
if (startStringFormat.arg(candidateWellPressureList.join(", ")).length() < maxStringLength)
|
if (startStringFormat.arg(candidateWellPressureList.join(", ")).length() < maxStringLength)
|
||||||
{
|
{
|
||||||
wellPressureList.swap(candidateWellPressureList);
|
wellPressureList = candidateWellPressureList;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user