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