X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Fwx%2Ftimeline.cc;h=80f4133c03fdc9df6f567dc02c4eb1b73b29c1df;hp=a9372b6bb862a4e1aa36ebba26b262ca6d4d4b9c;hb=ef25237193100de106eccdb8f40524fa670bda76;hpb=a2b97a1e3e4211a5c6b86ab780bcb9f5f4a9eeeb diff --git a/src/wx/timeline.cc b/src/wx/timeline.cc index a9372b6bb..80f4133c0 100644 --- a/src/wx/timeline.cc +++ b/src/wx/timeline.cc @@ -476,7 +476,6 @@ Timeline::event_to_view (wxMouseEvent& ev) Position const p (ev.GetX() + vsx * _x_scroll_rate, ev.GetY() + vsy * _y_scroll_rate); while (i != _views.rend() && !(*i)->bbox().contains (p)) { - auto cv = dynamic_pointer_cast(*i); ++i; }