Skip to content

Commit

Permalink
Rename onAddedToTrackContainer to trackContainerChanged
Browse files Browse the repository at this point in the history
  • Loading branch information
sakertooth committed Mar 3, 2025
1 parent f286ab8 commit eeab668
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/Track.h
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ class LMMS_EXPORT Track : public Model, public JournallingObject

TrackContainer* trackContainer() const { return m_trackContainer; }
void setTrackContainer(TrackContainer* trackContainer);
virtual void onAddedToTrackContainer(TrackContainer* trackContainer) {}
virtual void trackContainerChanged(TrackContainer* trackContainer) {}

// name-stuff
virtual const QString & name() const
Expand Down
2 changes: 1 addition & 1 deletion src/core/Track.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ void Track::setName(const QString& newName)
void Track::setTrackContainer(TrackContainer* trackContainer)
{
m_trackContainer = trackContainer;
onAddedToTrackContainer(trackContainer);
trackContainerChanged(trackContainer);
}

} // namespace lmms

0 comments on commit eeab668

Please sign in to comment.