mirror of
https://github.com/cookiengineer/audacity
synced 2025-04-30 07:39:42 +02:00
Remove experimental attempt at FAT detection
We'll just have to address each instance individually.
This commit is contained in:
parent
c7a8b824a1
commit
ac55e228ce
@ -326,11 +326,6 @@ 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(); } );
|
||||
|
@ -858,6 +858,13 @@ void ProjectFileManager::OpenFile(const FilePath &fileNameArg, bool addtohistory
|
||||
auto fileName = PlatformCompatibility::ConvertSlashInFileName(
|
||||
PlatformCompatibility::GetLongFileName(fileNameArg));
|
||||
|
||||
if (FileNames::FATFilesystemDenied(fileName,
|
||||
XO("Project resides on FAT formatted drive.\n"
|
||||
"Copy it to another drive to open it.")))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
// Make sure it isn't already open.
|
||||
// Vaughan, 2011-03-25: This was done previously in AudacityProject::OpenFiles()
|
||||
// and AudacityApp::MRUOpen(), but if you open an aup file by double-clicking it
|
||||
|
Loading…
x
Reference in New Issue
Block a user