1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-24 23:33:50 +02:00

rename function as AudacityProject::GetProjectName...

... So it does not hide inherited wxWindow::GetName().

And make it const.
This commit is contained in:
Paul Licameli
2019-04-21 17:33:18 -04:00
parent 8f55d55869
commit c46fbd919c
8 changed files with 14 additions and 14 deletions

View File

@@ -562,7 +562,7 @@ bool Exporter::GetFilename()
//Bug 1304: Set a default path if none was given. For Export.
mFilename = FileNames::DefaultToDocumentsFolder(wxT("/Export/Path"));
mFilename.SetName(mProject->GetName());
mFilename.SetName(mProject->GetProjectName());
if (mFilename.GetName().empty())
mFilename.SetName(_("untitled"));
while (true) {

View File

@@ -215,7 +215,7 @@ int ExportMultiple::ShowModal()
void ExportMultiple::PopulateOrExchange(ShuttleGui& S)
{
wxString name = mProject->GetName();
wxString name = mProject->GetProjectName();
wxString defaultFormat = gPrefs->Read(wxT("/Export/Format"), wxT("WAV"));
wxArrayStringEx formats;