Cleanup: use simpler ownership for FilmViewer.
[dcpomatic.git] / src / wx / timeline_dialog.h
index 8796f2bbfc41add263dfb0ca328d960e95527053..f5dea4eef3c54ab2eae034282f9fb91de281e274 100644 (file)
@@ -32,7 +32,7 @@ class Playlist;
 class TimelineDialog : public wxDialog
 {
 public:
-       TimelineDialog (ContentPanel *, std::shared_ptr<Film>, std::weak_ptr<FilmViewer> viewer);
+       TimelineDialog(ContentPanel *, std::shared_ptr<Film>, FilmViewer& viewer);
 
        void set_selection (ContentList selection);