1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-23 06:31:17 +01:00

static TrackFactory::Get()...

... not member functions of AudacityProject
This commit is contained in:
Paul Licameli
2019-01-22 10:59:44 -05:00
parent 4ba4d0978b
commit 116ff70756
18 changed files with 99 additions and 73 deletions

View File

@@ -453,7 +453,7 @@ void TranscriptionToolBar::PlayAtSpeed(bool looped, bool cutPreview)
{
// Create a TimeTrack if we haven't done so already
if (!mTimeTrack) {
mTimeTrack = p->GetTrackFactory()->NewTimeTrack();
mTimeTrack = TrackFactory::Get( *p ).NewTimeTrack();
if (!mTimeTrack) {
return;
}