X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Ftimeline.cc;h=8c8692aa1acca5c8fc7f6a43d5abdffd0bac19bd;hb=53eea12d3e0d7925d5949de92859bc358ee0adcc;hp=3929cf1c24d1cdb48ad5d96e96905f579be4544c;hpb=b16fa5f0de631821a7acc994645a291bc7aa90c9;p=dcpomatic.git diff --git a/src/wx/timeline.cc b/src/wx/timeline.cc index 3929cf1c2..8c8692aa1 100644 --- a/src/wx/timeline.cc +++ b/src/wx/timeline.cc @@ -101,15 +101,15 @@ Timeline::film_changed (Film::Property p) void Timeline::recreate_views () { - shared_ptr fl = _film.lock (); - if (!fl) { + shared_ptr film = _film.lock (); + if (!film) { return; } _views.clear (); _views.push_back (_time_axis_view); - ContentList content = fl->content (); + ContentList content = film->content (); for (ContentList::iterator i = content.begin(); i != content.end(); ++i) { if (dynamic_pointer_cast (*i)) {