1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-07-31 03:10:12 +02:00

* Added MetaPlaylistInterface::removeChildInterface. Does what it says on the tin.

This commit is contained in:
Christian Muehlhaeuser
2014-09-20 09:36:20 +02:00
parent 19229d96bc
commit 37b5b00506
2 changed files with 8 additions and 0 deletions

View File

@@ -52,6 +52,13 @@ MetaPlaylistInterface::addChildInterface( const Tomahawk::playlistinterface_ptr&
}
void
MetaPlaylistInterface::removeChildInterface( const Tomahawk::playlistinterface_ptr& interface )
{
m_childInterfaces.removeAll( interface );
}
QList< Tomahawk::query_ptr >
MetaPlaylistInterface::tracks() const
{

View File

@@ -38,6 +38,7 @@ public:
virtual ~MetaPlaylistInterface();
void addChildInterface( const Tomahawk::playlistinterface_ptr& interface );
void removeChildInterface( const Tomahawk::playlistinterface_ptr& interface );
virtual QList< Tomahawk::query_ptr > tracks() const;
virtual int trackCount() const;