Refactor: Centralized generation of path to storage of wellpaths from SSIHUB

This commit is contained in:
Jacob Støren
2019-12-11 11:39:02 +01:00
parent 0f9b667c55
commit 298b40d6ef
3 changed files with 7 additions and 5 deletions

View File

@@ -32,6 +32,7 @@ public:
int wellPathIndexInFile() const; // -1 means none.
void setWellPathIndexInFile( int index );
void updateFilePathsFromProjectPath( const QString& newProjectPath, const QString& oldProjectPath ) override;
static QString getCacheDirectoryPath();
private:
QString surveyType()
@@ -41,7 +42,6 @@ private:
void setSurveyType( QString surveyType );
bool isStoredInCache();
QString getCacheFileName();
QString getCacheDirectoryPath();
void setupBeforeSave() override;