1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-06 06:07:37 +02:00

Fix stupid mistake that borked next/prev/seek

This commit is contained in:
Jeff Mitchell
2011-06-16 22:27:07 -04:00
parent c7b8acbdf6
commit e3a22ba4ee

View File

@@ -146,8 +146,8 @@ void
AudioEngine::previous() AudioEngine::previous()
{ {
qDebug() << Q_FUNC_INFO; qDebug() << Q_FUNC_INFO;
if ( !m_playlist->skipSeekRestrictions() == PlaylistInterface::NoSkip && if ( m_playlist->skipSeekRestrictions() != PlaylistInterface::NoSkip &&
!m_playlist->skipSeekRestrictions() == PlaylistInterface::NoSkipSeek ) m_playlist->skipSeekRestrictions() != PlaylistInterface::NoSkipSeek )
loadPreviousTrack(); loadPreviousTrack();
} }
@@ -156,8 +156,8 @@ void
AudioEngine::next() AudioEngine::next()
{ {
qDebug() << Q_FUNC_INFO; qDebug() << Q_FUNC_INFO;
if ( !m_playlist->skipSeekRestrictions() == PlaylistInterface::NoSkip && if ( m_playlist->skipSeekRestrictions() != PlaylistInterface::NoSkip &&
!m_playlist->skipSeekRestrictions() == PlaylistInterface::NoSkipSeek ) m_playlist->skipSeekRestrictions() != PlaylistInterface::NoSkipSeek )
loadNextTrack(); loadNextTrack();
} }