summaryrefslogtreecommitdiff
path: root/src/wx/video_panel.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-03-27 23:28:27 +0100
committerCarl Hetherington <cth@carlh.net>2018-03-27 23:28:27 +0100
commit47c34c6c7c82396b62e101283cb25b8726dbaefd (patch)
tree2a4117899fcaddc7d5b9aae89315cecd145174c8 /src/wx/video_panel.cc
parent05502433d24e916bd99db3bac26b4903f961da06 (diff)
why_not in can_reference can just be a string rather than a list of strings.
Diffstat (limited to 'src/wx/video_panel.cc')
-rw-r--r--src/wx/video_panel.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/video_panel.cc b/src/wx/video_panel.cc
index 294dd00e1..5fbe518c4 100644
--- a/src/wx/video_panel.cc
+++ b/src/wx/video_panel.cc
@@ -462,7 +462,7 @@ VideoPanel::setup_sensitivity ()
dcp = dynamic_pointer_cast<DCPContent> (sel.front ());
}
- list<string> why_not;
+ string why_not;
bool const can_reference = dcp && dcp->can_reference_video (why_not);
setup_refer_button (_reference, dcp, can_reference, why_not);