diff --git a/include/track_container.h b/include/track_container.h index 1f25a0be1..df887796b 100644 --- a/include/track_container.h +++ b/include/track_container.h @@ -56,8 +56,6 @@ public: int countTracks( track::TrackTypes _tt = track::NumTrackTypes ) const; - void setMutedOfAllTracks( bool _muted ); - virtual void updateAfterTrackAdd( void ); void addTrack( track * _track ); diff --git a/src/core/track_container.cpp b/src/core/track_container.cpp index 399bce539..5186264cb 100644 --- a/src/core/track_container.cpp +++ b/src/core/track_container.cpp @@ -90,7 +90,8 @@ void trackContainer::loadSettings( const QDomElement & _this ) else { start_val = pd->value(); - pd->setMaximum( pd->maximum() + _this.childNodes().count() ); + pd->setMaximum( pd->maximum() + + _this.childNodes().count() ); } } @@ -199,16 +200,6 @@ int trackContainer::countTracks( track::TrackTypes _tt ) const -void trackContainer::setMutedOfAllTracks( bool _muted ) -{ - for( int i = 0; i < m_tracks.size(); ++i ) - { - m_tracks[i]->setMuted( _muted ); - } -} - - - dummyTrackContainer::dummyTrackContainer( void ) :