1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-21 14:02:57 +02:00

static TrackList::Get()...

... not member function of AudacityProject
This commit is contained in:
Paul Licameli
2019-05-06 19:00:10 -04:00
parent 1ed9338e6f
commit 14ab93a01f
73 changed files with 553 additions and 482 deletions

View File

@@ -175,7 +175,7 @@ void ODTask::DoSome(float amountWork)
bool ODTask::IsTaskAssociatedWithProject(AudacityProject* proj)
{
for (auto tr : proj->GetTracks()->Any<const WaveTrack>())
for (auto tr : TrackList::Get( *proj ).Any<const WaveTrack>())
{
//go over all tracks in the project
//look inside our task's track list for one that matches this projects one.