mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-21 16:37:12 +01:00
Use type aliases FilePath, FilePaths...
... for wxString and wxArrayStringEx, holding file paths (absolute or relative, directory or plain file); to be replaced later with different types (not yet using std::vector, becase of some uses of wxArrayString::Index with two arguments)
This commit is contained in:
@@ -493,7 +493,7 @@ bool TimerRecordDialog::HaveFilesToRecover()
|
||||
|
||||
bool TimerRecordDialog::RemoveAllAutoSaveFiles()
|
||||
{
|
||||
wxArrayString files;
|
||||
FilePaths files;
|
||||
wxDir::GetAllFiles(FileNames::AutoSaveDir(), &files,
|
||||
wxT("*.autosave"), wxDIR_FILES);
|
||||
|
||||
@@ -892,7 +892,7 @@ void TimerRecordDialog::PopulateOrExchange(ShuttleGui& S)
|
||||
{
|
||||
wxString sInitialValue;
|
||||
AudacityProject* pProject = GetActiveProject();
|
||||
wxString sSaveValue = pProject->GetFileName();
|
||||
auto sSaveValue = pProject->GetFileName();
|
||||
if (!sSaveValue.empty()) {
|
||||
m_fnAutoSaveFile.Assign(sSaveValue);
|
||||
sInitialValue = _("Current Project");
|
||||
|
||||
Reference in New Issue
Block a user