1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-07-31 19:30:21 +02: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 int
CollectionItem::trackCount() const CollectionItem::trackCount() const
{ {

View File

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