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/audio_panel.cc | |
| parent | 474388e8a89f1bb01df04d1e806f726e66e60cb2 (diff) | |
Cleanup: use signals for seeking on audio graph clicks.
Diffstat (limited to 'src/wx/audio_panel.cc')
| -rw-r--r-- | src/wx/audio_panel.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/wx/audio_panel.cc b/src/wx/audio_panel.cc index e04e65691..5d5478b1a 100644 --- a/src/wx/audio_panel.cc +++ b/src/wx/audio_panel.cc @@ -25,6 +25,7 @@ #include "check_box.h" #include "content_panel.h" #include "dcpomatic_button.h" +#include "film_viewer.h" #include "gain_calculator_dialog.h" #include "static_text.h" #include "wx_util.h" @@ -414,7 +415,8 @@ AudioPanel::show_clicked () return; } - _audio_dialog.reset(this, _parent->film(), _parent->film_viewer(), ac.front()); + _audio_dialog.reset(this, _parent->film(), ac.front()); + _audio_dialog->Seek.connect(boost::bind(&FilmViewer::seek, &_parent->film_viewer(), _1, true)); _audio_dialog->Show (); } |
