summaryrefslogtreecommitdiff
path: root/src/wx/audio_dialog.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-06-17 16:11:25 +0100
committerCarl Hetherington <cth@carlh.net>2015-06-17 16:11:25 +0100
commitb48d3719ae980fb8c8dccf4194154e0300565fbd (patch)
tree9027be9acf1f5b3d8d58b04f1f32cfc1d67e70c2 /src/wx/audio_dialog.cc
parenta193afb89de3e335612e07a3fbec3e4095f14f98 (diff)
Remove unnecessary Playlist argument to Film::audio_analysis_path.
Diffstat (limited to 'src/wx/audio_dialog.cc')
-rw-r--r--src/wx/audio_dialog.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/audio_dialog.cc b/src/wx/audio_dialog.cc
index 7a13a24a0..b4def55d3 100644
--- a/src/wx/audio_dialog.cc
+++ b/src/wx/audio_dialog.cc
@@ -128,7 +128,7 @@ AudioDialog::try_to_load_analysis ()
shared_ptr<const Film> film = _film.lock ();
DCPOMATIC_ASSERT (film);
- boost::filesystem::path path = film->audio_analysis_path (_playlist);
+ boost::filesystem::path path = film->audio_analysis_path ();
if (!boost::filesystem::exists (path)) {
_plot->set_analysis (shared_ptr<AudioAnalysis> ());
@@ -185,7 +185,7 @@ AudioDialog::analysis_finished ()
shared_ptr<const Film> film = _film.lock ();
DCPOMATIC_ASSERT (film);
- if (!boost::filesystem::exists (film->audio_analysis_path (_playlist))) {
+ if (!boost::filesystem::exists (film->audio_analysis_path ())) {
/* We analysed and still nothing showed up, so maybe it was cancelled or it failed.
Give up.
*/