mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-04-22 17:01:51 +02:00
* Simpler code.
This commit is contained in:
parent
ad03982a2f
commit
0f8be31c28
@ -143,10 +143,7 @@ ChartsWidget::playlistInterface() const
|
||||
bool
|
||||
ChartsWidget::isBeingPlayed() const
|
||||
{
|
||||
if ( playlistInterface()->hasChildInterface( AudioEngine::instance()->currentTrackPlaylist() ) )
|
||||
return true;
|
||||
|
||||
return false;
|
||||
return playlistInterface()->hasChildInterface( AudioEngine::instance()->currentTrackPlaylist() );
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user