1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-01 00:19:27 +02:00

Remove some fetches of TrackPanel

This commit is contained in:
Paul Licameli 2019-07-03 18:39:03 -04:00
parent 53c96cced6
commit 02075d5b43
2 changed files with 0 additions and 4 deletions

View File

@ -730,7 +730,6 @@ void OnSilence(const CommandContext &context)
{
auto &project = context.project;
auto &tracks = TrackList::Get( project );
auto &trackPanel = TrackPanel::Get( project );
auto &selectedRegion = ViewInfo::Get( project ).selectedRegion;
for ( auto n : tracks.Selected< WaveTrack >() )
@ -772,7 +771,6 @@ void OnSplit(const CommandContext &context)
{
auto &project = context.project;
auto &tracks = TrackList::Get( project );
auto &trackPanel = TrackPanel::Get( project );
auto &selectedRegion = ViewInfo::Get( project ).selectedRegion;
double sel0 = selectedRegion.t0();

View File

@ -451,7 +451,6 @@ void OnSplitDeleteLabels(const CommandContext &context)
void OnSilenceLabels(const CommandContext &context)
{
auto &project = context.project;
auto &trackPanel = TrackPanel::Get( project );
auto &tracks = TrackList::Get( project );
auto &selectedRegion = ViewInfo::Get( project ).selectedRegion;
@ -470,7 +469,6 @@ void OnSilenceLabels(const CommandContext &context)
void OnCopyLabels(const CommandContext &context)
{
auto &project = context.project;
auto &trackPanel = TrackPanel::Get( project );
auto &tracks = TrackList::Get( project );
auto &selectedRegion = ViewInfo::Get( project ).selectedRegion;