mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#6765 Test System : Add flag from regression dialog to invalidate external files
This commit is contained in:
@@ -445,9 +445,7 @@ void RimProject::setProjectFileNameAndUpdateDependencies( const QString& project
|
||||
QFileInfo fileInfoOld( oldProjectFileName );
|
||||
QString oldProjectPath = fileInfoOld.path();
|
||||
|
||||
std::vector<caf::FilePath*> filePaths;
|
||||
fieldContentsByType( this, filePaths );
|
||||
|
||||
std::vector<caf::FilePath*> filePaths = allFilePaths();
|
||||
for ( caf::FilePath* filePath : filePaths )
|
||||
{
|
||||
bool foundFile = false;
|
||||
@@ -1342,6 +1340,17 @@ RimPlotTemplateFolderItem* RimProject::rootPlotTemlateItem() const
|
||||
return m_plotTemplateFolderItem;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
std::vector<caf::FilePath*> RimProject::allFilePaths() const
|
||||
{
|
||||
std::vector<caf::FilePath*> filePaths;
|
||||
fieldContentsByType( this, filePaths );
|
||||
|
||||
return filePaths;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@@ -1629,9 +1638,7 @@ void RimProject::transferPathsToGlobalPathList()
|
||||
{
|
||||
GlobalPathListMapper pathListMapper( m_globalPathList() );
|
||||
|
||||
std::vector<caf::FilePath*> filePaths;
|
||||
fieldContentsByType( this, filePaths );
|
||||
|
||||
std::vector<caf::FilePath*> filePaths = allFilePaths();
|
||||
for ( caf::FilePath* filePath : filePaths )
|
||||
{
|
||||
QString path = filePath->path();
|
||||
@@ -1652,9 +1659,7 @@ void RimProject::distributePathsFromGlobalPathList()
|
||||
{
|
||||
GlobalPathListMapper pathListMapper( m_globalPathList() );
|
||||
|
||||
std::vector<caf::FilePath*> filePaths;
|
||||
fieldContentsByType( this, filePaths );
|
||||
|
||||
std::vector<caf::FilePath*> filePaths = allFilePaths();
|
||||
for ( caf::FilePath* filePath : filePaths )
|
||||
{
|
||||
QString pathIdCandidate = filePath->path().trimmed();
|
||||
|
||||
Reference in New Issue
Block a user