Skip to content

Commit

Permalink
Update RepoView.cpp
Browse files Browse the repository at this point in the history
delete-timeline-causes-crash-on-windows-#680
  • Loading branch information
wolfseifert authored Feb 8, 2024
1 parent 9001e00 commit cfc90cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/RepoView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -890,7 +890,7 @@ void RepoView::setLogVisible(bool visible) {
setSizes({1, static_cast<int>(pos * value)});
});

connect(timeline, &QTimeLine::finished, [timeline] { delete timeline; });
connect(timeline, &QTimeLine::finished, [timeline] { timeline->deleteLater(); });

timeline->start();
}
Expand Down

0 comments on commit cfc90cd

Please sign in to comment.