mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 13:47:26 +02:00
Re-disable phonon seek checking, for now
This commit is contained in:
@@ -245,8 +245,10 @@ bool
|
|||||||
AudioEngine::canSeek()
|
AudioEngine::canSeek()
|
||||||
{
|
{
|
||||||
bool phononCanSeek = true;
|
bool phononCanSeek = true;
|
||||||
|
/* TODO: When phonon properly reports this, re-enable it
|
||||||
if ( m_mediaObject && m_mediaObject->isValid() )
|
if ( m_mediaObject && m_mediaObject->isValid() )
|
||||||
phononCanSeek = m_mediaObject->isSeekable();
|
phononCanSeek = m_mediaObject->isSeekable();
|
||||||
|
*/
|
||||||
return !m_playlist.isNull() && ( m_playlist.data()->seekRestrictions() != PlaylistInterface::NoSeek ) && phononCanSeek;
|
return !m_playlist.isNull() && ( m_playlist.data()->seekRestrictions() != PlaylistInterface::NoSeek ) && phononCanSeek;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user