mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-06 19:52:19 +01:00
Made requests for bug reports consistently go to feedback@audacityteam.org and compile issues go to "Compling Audacity" board on the Forum rather than going to -devel. Removed some related code cruft.
This commit is contained in:
@@ -338,15 +338,16 @@ void UndoManager::StateSaved()
|
||||
ResetODChangesFlag();
|
||||
}
|
||||
|
||||
void UndoManager::Debug()
|
||||
{
|
||||
for (unsigned int i = 0; i < stack.Count(); i++) {
|
||||
TrackListIterator iter(stack[i]->tracks);
|
||||
WaveTrack *t = (WaveTrack *) (iter.First());
|
||||
wxPrintf(wxT("*%d* %s %f\n"), i, (i == (unsigned int)current) ? wxT("-->") : wxT(" "),
|
||||
t ? t->GetEndTime()-t->GetStartTime() : 0);
|
||||
}
|
||||
}
|
||||
// currently unused
|
||||
//void UndoManager::Debug()
|
||||
//{
|
||||
// for (unsigned int i = 0; i < stack.Count(); i++) {
|
||||
// TrackListIterator iter(stack[i]->tracks);
|
||||
// WaveTrack *t = (WaveTrack *) (iter.First());
|
||||
// wxPrintf(wxT("*%d* %s %f\n"), i, (i == (unsigned int)current) ? wxT("-->") : wxT(" "),
|
||||
// t ? t->GetEndTime()-t->GetStartTime() : 0);
|
||||
// }
|
||||
//}
|
||||
|
||||
///to mark as unsaved changes without changing the state/tracks.
|
||||
void UndoManager::SetODChangesFlag()
|
||||
|
||||
Reference in New Issue
Block a user