diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-06-17 16:21:01 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-06-17 16:21:01 +0100 |
| commit | b16fa5f0de631821a7acc994645a291bc7aa90c9 (patch) | |
| tree | e57b94391c640617faef6c4a727571cce7e73fa0 /src/wx/content_menu.cc | |
| parent | da66833e0a9f2197680baa6759db11eaf868f39d (diff) | |
Final tweaks and removal of Film::playlist().
Diffstat (limited to 'src/wx/content_menu.cc')
| -rw-r--r-- | src/wx/content_menu.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/wx/content_menu.cc b/src/wx/content_menu.cc index daadab7d7..2e9fe43fe 100644 --- a/src/wx/content_menu.cc +++ b/src/wx/content_menu.cc @@ -122,12 +122,12 @@ ContentMenu::repeat () return; } - shared_ptr<const Film> film = _film.lock (); + shared_ptr<Film> film = _film.lock (); if (!film) { return; } - film->playlist()->repeat (_content, d->number ()); + film->repeat_content (_content, d->number ()); d->Destroy (); _content.clear (); @@ -170,7 +170,7 @@ ContentMenu::remove () return; } - shared_ptr<const Film> film = _film.lock (); + shared_ptr<Film> film = _film.lock (); if (!film) { return; } @@ -210,7 +210,7 @@ ContentMenu::remove () } if (!handled) { - film->playlist()->remove (_content); + film->remove_content (_content); } _content.clear (); |
