diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-07-19 12:10:37 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-07-19 12:10:37 +0100 |
| commit | c5a18da25dd7bba0f65e00312eabc130d5f66fa9 (patch) | |
| tree | f8ab99b5f7531f8a62760e3a1dc7f7068ae9dd19 /src/wx/timeline.cc | |
| parent | ba17803f7e33be2bea1363b5a7115e4713dd5997 (diff) | |
Remove old looping method.
Diffstat (limited to 'src/wx/timeline.cc')
| -rw-r--r-- | src/wx/timeline.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/timeline.cc b/src/wx/timeline.cc index 3747a3dac..8d70a9381 100644 --- a/src/wx/timeline.cc +++ b/src/wx/timeline.cc @@ -375,7 +375,7 @@ Timeline::playlist_changed () _views.clear (); - Playlist::ContentList content = fl->playlist()->content_with_loop (); + Playlist::ContentList content = fl->playlist()->content (); for (Playlist::ContentList::iterator i = content.begin(); i != content.end(); ++i) { if (dynamic_pointer_cast<VideoContent> (*i)) { @@ -460,7 +460,7 @@ Timeline::setup_pixels_per_time_unit () return; } - _pixels_per_time_unit = static_cast<double>(width() - x_offset() * 2) / film->length_with_loop(); + _pixels_per_time_unit = static_cast<double>(width() - x_offset() * 2) / film->length (); } void |
