mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 03:10:12 +02:00
Fix stupid mistake that borked next/prev/seek
This commit is contained in:
@@ -146,8 +146,8 @@ void
|
||||
AudioEngine::previous()
|
||||
{
|
||||
qDebug() << Q_FUNC_INFO;
|
||||
if ( !m_playlist->skipSeekRestrictions() == PlaylistInterface::NoSkip &&
|
||||
!m_playlist->skipSeekRestrictions() == PlaylistInterface::NoSkipSeek )
|
||||
if ( m_playlist->skipSeekRestrictions() != PlaylistInterface::NoSkip &&
|
||||
m_playlist->skipSeekRestrictions() != PlaylistInterface::NoSkipSeek )
|
||||
loadPreviousTrack();
|
||||
}
|
||||
|
||||
@@ -156,8 +156,8 @@ void
|
||||
AudioEngine::next()
|
||||
{
|
||||
qDebug() << Q_FUNC_INFO;
|
||||
if ( !m_playlist->skipSeekRestrictions() == PlaylistInterface::NoSkip &&
|
||||
!m_playlist->skipSeekRestrictions() == PlaylistInterface::NoSkipSeek )
|
||||
if ( m_playlist->skipSeekRestrictions() != PlaylistInterface::NoSkip &&
|
||||
m_playlist->skipSeekRestrictions() != PlaylistInterface::NoSkipSeek )
|
||||
loadNextTrack();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user