mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-12 08:25:03 -05: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:
1 parent
a55b53c725
commit
96481d81a8
7 files changed
+279
-5
No files matched your search
@@ -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