mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Switched QString compare to ==
This commit is contained in:
@@ -531,7 +531,7 @@ RimWellRftPlot::eclipseCasesForWell(const QString& wellName) const
|
|||||||
RigEclipseCaseData* const eclipseCaseData = eclCase->eclipseCaseData();
|
RigEclipseCaseData* const eclipseCaseData = eclCase->eclipseCaseData();
|
||||||
for (const cvf::ref<RigSimWellData>& wellResult : eclipseCaseData->wellResults())
|
for (const cvf::ref<RigSimWellData>& wellResult : eclipseCaseData->wellResults())
|
||||||
{
|
{
|
||||||
if (QString::compare(wellResult->m_wellName, wellName) == 0)
|
if (wellResult->m_wellName == wellName)
|
||||||
{
|
{
|
||||||
bool hasPressure = hasPressureData(eclCase);
|
bool hasPressure = hasPressureData(eclCase);
|
||||||
bool hasRftData = eclCase->rftReader() != nullptr;
|
bool hasRftData = eclCase->rftReader() != nullptr;
|
||||||
|
|||||||
Reference in New Issue
Block a user