summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-06-22 17:21:30 +0200
committerCarl Hetherington <cth@carlh.net>2023-06-22 17:21:30 +0200
commit5c5f9d4f408df440d2baae93fad129c66921cd26 (patch)
treedb2f1ddcdd516f22951cdfb4541470030526f97d
parenteb7a7f05ba17143723227495c62d6292b1a2d3f7 (diff)
Controls::set_film() calls setup_sensitivity() so there's no need for PlaylistControls::set_film() also to do it.
-rw-r--r--src/wx/playlist_controls.cc6
-rw-r--r--src/wx/playlist_controls.h2
2 files changed, 0 insertions, 8 deletions
diff --git a/src/wx/playlist_controls.cc b/src/wx/playlist_controls.cc
index c098aa970..8d67cd998 100644
--- a/src/wx/playlist_controls.cc
+++ b/src/wx/playlist_controls.cc
@@ -396,12 +396,6 @@ PlaylistControls::config_changed (int property)
}
}
-void
-PlaylistControls::set_film (shared_ptr<Film> film)
-{
- Controls::set_film (film);
- setup_sensitivity ();
-}
void
PlaylistControls::update_current_content ()
diff --git a/src/wx/playlist_controls.h b/src/wx/playlist_controls.h
index e1b834054..76ec63824 100644
--- a/src/wx/playlist_controls.h
+++ b/src/wx/playlist_controls.h
@@ -31,8 +31,6 @@ class PlaylistControls : public Controls
public:
PlaylistControls(wxWindow* parent, FilmViewer& viewer);
- void set_film (std::shared_ptr<Film> film) override;
-
/** This is so that we can tell our parent player to reset the film
when we have created one from a SPL. We could call a method
in the player's DOMFrame but we don't have that in a header.