mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-19 09:01:15 +02:00
rename function as AudacityProject::GetProjectName...
... So it does not hide inherited wxWindow::GetName(). And make it const.
This commit is contained in:
@@ -536,7 +536,7 @@ void OnPageSetup(const CommandContext &context)
|
||||
void OnPrint(const CommandContext &context)
|
||||
{
|
||||
auto &project = context.project;
|
||||
auto name = project.GetName();
|
||||
auto name = project.GetProjectName();
|
||||
auto tracks = project.GetTracks();
|
||||
HandlePrint(&project, name, tracks, *project.GetTrackPanel());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user