#1768 Create index file name based on result file name

This commit is contained in:
Magne Sjaastad
2017-08-25 11:08:19 +02:00
parent 19be1c09a4
commit d19c256333
2 changed files with 13 additions and 0 deletions

View File

@@ -371,6 +371,18 @@ cvf::ref<RifEclipseRestartDataAccess> RifEclipseOutputFileTools::createDynamicRe
return resultsAccess;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
QString RifEclipseOutputFileTools::createIndexFileName(const QString& resultFileName)
{
QFileInfo fi(resultFileName);
QString indexFileName = fi.path() + "/" + fi.completeBaseName() + ".RESINSIGHT_IDX";
return indexFileName;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------