Move updatedFilePathFromPathId() to private

File paths are now updated in initAfterRead()
This commit is contained in:
Magne Sjaastad
2024-06-05 09:32:44 +02:00
parent a952fbce7e
commit beccd2454e
3 changed files with 5 additions and 8 deletions

View File

@@ -194,7 +194,6 @@ public:
RimPlotTemplateFolderItem* rootPlotTemplateItem() const;
std::vector<caf::FilePath*> allFilePaths() const;
QString updatedFilePathFromPathId( QString filePath, RiaVariableMapper* pathListMapper = nullptr ) const;
protected:
void beforeInitAfterRead() override;
@@ -204,8 +203,9 @@ protected:
void defineUiTreeOrdering( caf::PdmUiTreeOrdering& uiTreeOrdering, QString uiConfigName = "" ) override;
private:
void transferPathsToGlobalPathList();
void distributePathsFromGlobalPathList();
void transferPathsToGlobalPathList();
void distributePathsFromGlobalPathList();
QString updatedFilePathFromPathId( QString filePath, RiaVariableMapper* pathListMapper = nullptr ) const;
private:
caf::PdmChildField<RimMainPlotCollection*> m_mainPlotCollection;