mirror of
https://github.com/Murmele/Gittyup.git
synced 2024-09-11 02:35:41 +03:00
Update RepoView.cpp
delete-timeline-causes-crash-on-windows-#680
This commit is contained in:
parent
9001e004e4
commit
cfc90cd683
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user