1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-03-12 09:25:35 +01:00

AUP3: Remove obsolete audio file cache

This commit is contained in:
Leland Lucius
2020-06-21 18:53:54 -05:00
parent cbf1bb558e
commit b1beb20ae9
9 changed files with 38 additions and 393 deletions

View File

@@ -1284,11 +1284,6 @@ void ProjectFileManager::OpenFile(const FilePath &fileNameArg, bool addtohistory
bool closed = false;
auto cleanup = finally( [&] {
if (! closed ) {
if ( bParseSuccess ) {
// This is a no-fail:
dirManager.FillBlockfilesCache();
}
// For an unknown reason, OSX requires that the project window be
// raised if a recovery took place.
window.CallAfter( [&] { window.Raise(); } );
@@ -1567,7 +1562,5 @@ bool ProjectFileManager::Import(
}
}
// This is a no-fail:
dirManager.FillBlockfilesCache();
return true;
}