projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
baf6f95
)
Remove unused variables.
author
Carl Hetherington
<cth@carlh.net>
Sun, 21 Jan 2024 01:23:58 +0000
(
02:23
+0100)
committer
Carl Hetherington
<cth@carlh.net>
Sun, 21 Jan 2024 01:23:58 +0000
(
02:23
+0100)
src/wx/timing_panel.cc
patch
|
blob
|
history
diff --git
a/src/wx/timing_panel.cc
b/src/wx/timing_panel.cc
index 106998082ed37826ee09b101222ba17d8b8e81db..3304157e242abfe7ad8d697609110278008fcbfa 100644
(file)
--- a/
src/wx/timing_panel.cc
+++ b/
src/wx/timing_panel.cc
@@
-286,19
+286,15
@@
TimingPanel::film_content_changed (int property)
if (property == ContentProperty::VIDEO_FRAME_RATE) {
set<double> check_vc;
shared_ptr<const Content> content;
- int count_ac = 0;
- int count_sc = 0;
for (auto i: _parent->selected()) {
if (i->video && i->video_frame_rate()) {
check_vc.insert (i->video_frame_rate().get());
content = i;
}
if (i->audio && i->video_frame_rate()) {
- ++count_ac;
content = i;
}
if (!i->text.empty() && i->video_frame_rate()) {
- ++count_sc;
content = i;
}