Cleanup: use simpler ownership for FilmViewer.
[dcpomatic.git] / src / wx / audio_dialog.cc
index c64f64e31eb4104ce612f9ca24cd98d3212b66f1..30fe2f752ff93249c7be883729a7d4d46b732cbe 100644 (file)
@@ -56,7 +56,7 @@ using namespace boost::placeholders;
  *  @param film Film we are using.
  *  @param content Content to analyse, or 0 to analyse all of the film's audio.
  */
-AudioDialog::AudioDialog (wxWindow* parent, shared_ptr<Film> film, weak_ptr<FilmViewer> viewer, shared_ptr<Content> content)
+AudioDialog::AudioDialog (wxWindow* parent, shared_ptr<Film> film, FilmViewer& viewer, shared_ptr<Content> content)
        : wxDialog (
                parent,
                wxID_ANY,