mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-09 07:36:48 +02:00
* Style fixes in GenericPageItems.
This commit is contained in:
@@ -82,6 +82,7 @@ GenericPageItem::setText( const QString &text )
|
||||
emit updated();
|
||||
}
|
||||
|
||||
|
||||
bool
|
||||
GenericPageItem::isBeingPlayed() const
|
||||
{
|
||||
@@ -90,10 +91,10 @@ GenericPageItem::isBeingPlayed() const
|
||||
if ( m_get()->isBeingPlayed() )
|
||||
return true;
|
||||
|
||||
if ( !m_get()->playlistInterface().isNull() && m_get()->playlistInterface() == AudioEngine::instance()->currentTrackPlaylist() )
|
||||
if ( m_get()->playlistInterface() && m_get()->playlistInterface() == AudioEngine::instance()->currentTrackPlaylist() )
|
||||
return true;
|
||||
|
||||
if ( !m_get()->playlistInterface().isNull() && m_get()->playlistInterface()->hasChildInterface( AudioEngine::instance()->currentTrackPlaylist() ) )
|
||||
if ( m_get()->playlistInterface() && m_get()->playlistInterface()->hasChildInterface( AudioEngine::instance()->currentTrackPlaylist() ) )
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user