1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-01-17 14:28:24 +01:00

Proxy isBeingPlayed to the page

This commit is contained in:
Uwe L. Korn 2014-11-16 16:25:25 +01:00
parent 892b5e9050
commit cf9bc2b403
2 changed files with 9 additions and 0 deletions

View File

@ -72,6 +72,13 @@ CollectionItem::setSortValue( int value )
}
bool
CollectionItem::isBeingPlayed() const
{
return m_page && m_page->isBeingPlayed();
}
int
CollectionItem::trackCount() const
{

View File

@ -35,6 +35,8 @@ public:
virtual int peerSortValue() const;
void setSortValue( int value );
bool isBeingPlayed() const override;
int trackCount() const;
public slots: