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:
@@ -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
|
||||
{
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user