projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
why_not in can_reference can just be a string rather than a list of strings.
[dcpomatic.git]
/
src
/
wx
/
audio_panel.cc
diff --git
a/src/wx/audio_panel.cc
b/src/wx/audio_panel.cc
index fd63abf6ca050b9624e799db0438abb3d4be2dab..14d8db07e5798339947a882ba25817885dd97113 100644
(file)
--- a/
src/wx/audio_panel.cc
+++ b/
src/wx/audio_panel.cc
@@
-267,7
+267,7
@@
AudioPanel::setup_sensitivity ()
dcp = dynamic_pointer_cast<DCPContent> (sel.front ());
}
-
list<string>
why_not;
+
string
why_not;
bool const can_reference = dcp && dcp->can_reference_audio (why_not);
setup_refer_button (_reference, dcp, can_reference, why_not);