diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-12-19 20:21:30 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-09-03 10:07:15 +0200 |
| commit | 60359aa72cb4a835f889853b6fc38d394d55c853 (patch) | |
| tree | 30223d8bb32c70e64c8c5384ddb2fd0bcd9b6eb0 | |
| parent | 177fb1ff7f954b5bb6b78008b70bd60d75f4d1c2 (diff) | |
Use a default constructor.
| -rw-r--r-- | src/wx/timeline_reels_view.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/timeline_reels_view.cc b/src/wx/timeline_reels_view.cc index 5f2a78079..6c0ec49ff 100644 --- a/src/wx/timeline_reels_view.cc +++ b/src/wx/timeline_reels_view.cc @@ -71,7 +71,7 @@ TimelineReelsView::do_paint (wxGraphicsContext* gc, list<dcpomatic::Rect<int>>) gc->SetPen(*wxThePenList->FindOrCreatePen(colour, 1, wxPENSTYLE_SOLID)); auto path = gc->CreatePath (); - path.MoveToPoint (time_x (DCPTime (0)), _y); + path.MoveToPoint(time_x({}), _y); path.AddLineToPoint (time_x (_timeline.film()->length()), _y); gc->StrokePath (path); |
