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:
@@ -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) {
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user