From dc57e8cffef84d2828cec75b4aaab5ed9045f464 Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Mon, 1 Jun 2020 04:46:10 +1000 Subject: [PATCH] timelineworkarea: initialize enabled value to false I'm honestly surprised we made it this far without this being a problem. --- app/timeline/timelineworkarea.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/timeline/timelineworkarea.cpp b/app/timeline/timelineworkarea.cpp index 0f68f0ad7..bce53c7fb 100644 --- a/app/timeline/timelineworkarea.cpp +++ b/app/timeline/timelineworkarea.cpp @@ -28,7 +28,8 @@ const rational TimelineWorkArea::kResetIn = 0; const rational TimelineWorkArea::kResetOut = RATIONAL_MAX; TimelineWorkArea::TimelineWorkArea(QObject *parent) : - QObject(parent) + QObject(parent), + workarea_enabled_(false) { }