From 43d6ac75e2a559a86b8a861308377fe3a4517951 Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Sat, 23 Nov 2019 22:39:24 +0900 Subject: [PATCH] updated disconnect code in timelinewidget Connect code was updated as TimelineOutput changed but it appears the disconnect code was not. It should now match as expected. --- app/widget/timelinewidget/timelinewidget.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/widget/timelinewidget/timelinewidget.cpp b/app/widget/timelinewidget/timelinewidget.cpp index 602467c5c..d909f2c52 100644 --- a/app/widget/timelinewidget/timelinewidget.cpp +++ b/app/widget/timelinewidget/timelinewidget.cpp @@ -151,10 +151,9 @@ void TimelineWidget::ConnectTimelineNode(TimelineOutput *node) disconnect(timeline_node_, SIGNAL(LengthChanged(const rational&)), this, SLOT(UpdateTimelineLength(const rational&))); disconnect(timeline_node_, SIGNAL(BlockAdded(Block*, TrackReference)), this, SLOT(AddBlock(Block*, TrackReference))); disconnect(timeline_node_, SIGNAL(BlockRemoved(Block*)), this, SLOT(RemoveBlock(Block*))); - disconnect(timeline_node_, SIGNAL(TrackAdded(TrackOutput*)), this, SLOT(AddTrack(TrackOutput*))); + disconnect(timeline_node_, SIGNAL(TrackAdded(TrackOutput*, TrackType)), this, SLOT(AddTrack(TrackOutput*, TrackType))); disconnect(timeline_node_, SIGNAL(TrackRemoved(TrackOutput*)), this, SLOT(RemoveTrack(TrackOutput*))); disconnect(timeline_node_, SIGNAL(TimebaseChanged(const rational&)), this, SLOT(SetTimebase(const rational&))); - disconnect(timeline_node_, SIGNAL(TimelineCleared()), this, SLOT(Clear())); SetTimebase(0);