Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
MrStevns committed Sep 8, 2024
1 parent 44bfeaa commit 99f8a20
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions app/src/timelinelayerlist.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ void TimeLineLayerList::loadLayerCells()
{
if (!mLayerCells.isEmpty()) {
for (TimeLineLayerCell* cell : qAsConst(mLayerCells)) {
// The cells might still be in use when this happens, as such
// make sure they are set for deletion later.
cell->deleteLater();
}
mLayerCells.clear();
Expand Down
3 changes: 1 addition & 2 deletions core_lib/src/interface/editor.h
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,8 @@ class Editor : public QObject
void framesModified();
void selectedFramesChanged();

void updateTimeLine() const;
void updateTimeLine();
void updateTimeLineCached();
void updateLayerCount();

void updateBackup();

Expand Down

0 comments on commit 99f8a20

Please sign in to comment.