1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-23 17:30:17 +01:00

Some more const, some stl idioms, remove unused declaration

This commit is contained in:
Paul Licameli
2016-09-13 19:17:40 -04:00
parent 740ec8b72b
commit 39d514b183
14 changed files with 44 additions and 42 deletions

View File

@@ -418,7 +418,7 @@ void LabelDialog::FindAllLabels()
// Add labels from all label tracks
for (t = iter.First(); t; t = iter.Next()) {
if (t->GetKind() == Track::Label)
AddLabels(static_cast<LabelTrack *>(t));
AddLabels(static_cast<const LabelTrack *>(t));
}
FindInitialRow();
@@ -429,7 +429,7 @@ void LabelDialog::FindAllLabels()
}
}
void LabelDialog::AddLabels(LabelTrack *t)
void LabelDialog::AddLabels(const LabelTrack *t)
{
wxString lab;
int tndx = 0;