mirror of
https://github.com/OPM/ResInsight.git
synced 2026-09-03 20:53:13 -05:00
Use compare() because endsWith() does not work as expected on Windows
p4#: 22005
This commit is contained in:
@@ -166,7 +166,9 @@ caf::PdmFieldHandle* RimWellPath::objectToggleField()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimWellPath::readWellPathFile()
|
||||
{
|
||||
if (filepath().endsWith(".json"), Qt::CaseInsensitive)
|
||||
QFileInfo fi(filepath());
|
||||
|
||||
if (fi.suffix().compare("json") == 0)
|
||||
{
|
||||
this->readJsonWellPathFile();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user