mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-19 09:17:54 +01:00
Bug 330 (P2) - Fix an issue where multiple projects would cause the warning dialogs to pop up above the wrong project.
I refactored the code into AudacityApp with a new timer. This is provisional pending discussion - if it is decided that it should go somewhere else I will move it.
This commit is contained in:
@@ -910,6 +910,11 @@ BlockFile *DirManager::NewODDecodeBlockFile(
|
||||
return newBlockFile;
|
||||
}
|
||||
|
||||
bool DirManager::ContainsBlockFile(BlockFile *b) {
|
||||
// check what the hash returns in case the blockfile is from a different project
|
||||
return b ? mBlockFileHash[b->GetFileName().GetName()] == b : NULL;
|
||||
}
|
||||
|
||||
// Adds one to the reference count of the block file,
|
||||
// UNLESS it is "locked", then it makes a new copy of
|
||||
// the BlockFile.
|
||||
|
||||
Reference in New Issue
Block a user