diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-09-30 22:13:16 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-10-10 21:15:37 +0200 |
| commit | 15ebff851d348eea2a5ae91c6495a787b8d012b2 (patch) | |
| tree | 6de54e8c693754e18d88c08b58d1611861b85437 /src/wx/dcp_panel.cc | |
| parent | 474388e8a89f1bb01df04d1e806f726e66e60cb2 (diff) | |
Cleanup: use signals for seeking on audio graph clicks.
Diffstat (limited to 'src/wx/dcp_panel.cc')
| -rw-r--r-- | src/wx/dcp_panel.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/wx/dcp_panel.cc b/src/wx/dcp_panel.cc index 80caa4c2c..755ecfbaa 100644 --- a/src/wx/dcp_panel.cc +++ b/src/wx/dcp_panel.cc @@ -27,6 +27,7 @@ #include "dcpomatic_button.h" #include "dcpomatic_choice.h" #include "dcpomatic_spin_ctrl.h" +#include "film_viewer.h" #include "focus_manager.h" #include "interop_metadata_dialog.h" #include "language_tag_dialog.h" @@ -1040,7 +1041,8 @@ DCPPanel::show_audio_clicked() return; } - _audio_dialog.reset(_panel, _film, _viewer); + _audio_dialog.reset(_panel, _film); + _audio_dialog->Seek.connect(boost::bind(&FilmViewer::seek, &_viewer, _1, true)); _audio_dialog->Show(); } |
