mirror of
https://github.com/Murmele/Gittyup.git
synced 2024-09-11 02:35:41 +03:00
Update MainWindow.cpp
delete-timeline-causes-crash-on-windows-#680
This commit is contained in:
parent
fbb4867afa
commit
9001e004e4
@ -201,7 +201,7 @@ void MainWindow::setSideBarVisible(bool visible) {
|
||||
splitter->setSizes({static_cast<int>(pos * value), 1});
|
||||
});
|
||||
|
||||
connect(timeline, &QTimeLine::finished, [timeline] { delete timeline; });
|
||||
connect(timeline, &QTimeLine::finished, [timeline] { timeline->deleteLater(); });
|
||||
|
||||
timeline->start();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user