Switched QString compare to ==

This commit is contained in:
Jacob Støren committed 2017-11-07 14:41:20 +01:00
1 parent e9a938ce78
commit 93d449bc6e
1 file changed
+1 -1
@@ -531,7 +531,7 @@ RimWellRftPlot::eclipseCasesForWell(const QString& wellName) const
RigEclipseCaseData* const eclipseCaseData = eclCase->eclipseCaseData();
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 hasRftData = eclCase->rftReader() != nullptr;