1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-06 03:32:09 +01:00

static TrackPanel::Get()...

... not member functions of AudacityProject
This commit is contained in:
Paul Licameli
2019-04-21 17:01:31 -04:00
parent 00117897bc
commit d1ad8f55e0
39 changed files with 506 additions and 453 deletions

View File

@@ -814,7 +814,7 @@ bool ScreenshotCommand::Apply(const CommandContext & context)
if (!w)
return false;
TrackPanel *panel = context.project.GetTrackPanel();
TrackPanel *panel = &TrackPanel::Get( context.project );
AdornedRulerPanel *ruler = panel->mRuler;
int nTracks = TrackList::Get( context.project ).size();