mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-03 20:57:52 +02:00
* Simpler code.
This commit is contained in:
@@ -143,10 +143,7 @@ ChartsWidget::playlistInterface() const
|
|||||||
bool
|
bool
|
||||||
ChartsWidget::isBeingPlayed() const
|
ChartsWidget::isBeingPlayed() const
|
||||||
{
|
{
|
||||||
if ( playlistInterface()->hasChildInterface( AudioEngine::instance()->currentTrackPlaylist() ) )
|
return playlistInterface()->hasChildInterface( AudioEngine::instance()->currentTrackPlaylist() );
|
||||||
return true;
|
|
||||||
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user