summaryrefslogtreecommitdiff
path: root/src/wx
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-12-19 20:15:59 +0100
committerCarl Hetherington <cth@carlh.net>2025-09-03 09:43:41 +0200
commitd6bc71fe76016cdd3cb6a9387b9ca32e71bcd21e (patch)
tree975a8fd154af923bb6aaf9c0362eb84679c90485 /src/wx
parentba4a7f851f0da08f11080a9d99379a31e4ab55fb (diff)
Use ContentTime instead of Frame for check set.
Diffstat (limited to 'src/wx')
-rw-r--r--src/wx/audio_panel.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/wx/audio_panel.cc b/src/wx/audio_panel.cc
index e04e65691..f5820c33f 100644
--- a/src/wx/audio_panel.cc
+++ b/src/wx/audio_panel.cc
@@ -255,9 +255,9 @@ AudioPanel::film_content_changed (int property)
break;
case AudioContentProperty::FADE_IN:
{
- set<Frame> check;
+ set<ContentTime> check;
for (auto i: ac) {
- check.insert (i->audio->fade_in().get());
+ check.insert(i->audio->fade_in());
}
if (check.size() == 1) {
@@ -272,9 +272,9 @@ AudioPanel::film_content_changed (int property)
}
case AudioContentProperty::FADE_OUT:
{
- set<Frame> check;
+ set<ContentTime> check;
for (auto i: ac) {
- check.insert (i->audio->fade_out().get());
+ check.insert(i->audio->fade_out());
}
if (check.size() == 1) {