1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-04-30 07:39:42 +02:00

Experimental commit for testing more FAT exclusion

This commit is contained in:
Leland Lucius 2021-01-11 08:51:17 -06:00
parent 60ebe7919a
commit 28a286c656

View File

@ -326,6 +326,11 @@ bool ProjectFileIO::OpenConnection(FilePath fileName /* = {} */)
}
}
if (FileNames::FATFilesystemDenied(fileName, XO("Project resides on FAT formatted drive.")))
{
return false;
}
// Pass weak_ptr to project into DBConnection constructor
curConn = std::make_unique<DBConnection>(
mProject.shared_from_this(), mpErrors, [this]{ OnCheckpointFailure(); } );