mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Add tool used to extract project file revisions from project file database
* Add tool used to extract project file versions from database * Delete old records from backup to limit number of records to 50
This commit is contained in:
@@ -416,8 +416,9 @@ bool RimProject::writeProjectFile()
|
||||
|
||||
if ( RiaPreferences::current()->storeBackupOfProjectFiles() )
|
||||
{
|
||||
QString backupFilename = fileName + "db";
|
||||
RiaProjectBackupTools::appendTextToDatabase( backupFilename, content );
|
||||
QString backupFilename = fileName + "db";
|
||||
const int maximumRecordCount = 50;
|
||||
RiaProjectBackupTools::appendTextToDatabase( backupFilename, maximumRecordCount, content );
|
||||
}
|
||||
|
||||
distributePathsFromGlobalPathList();
|
||||
|
||||
Reference in New Issue
Block a user