mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-20 23:51:18 +01:00
static TrackList::Get()...
... not member function of AudacityProject
This commit is contained in:
@@ -108,7 +108,7 @@ static ProjectFileIORegistry::Entry registerFactory{
|
||||
wxT( "notetrack" ),
|
||||
[]( AudacityProject &project ){
|
||||
auto &trackFactory = *project.GetTrackFactory();
|
||||
auto &tracks = *project.GetTracks();
|
||||
auto &tracks = TrackList::Get( project );
|
||||
return tracks.Add(trackFactory.NewNoteTrack());
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user