mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 22:26:32 +02:00
Fix stupid mistake that borked next/prev/seek
This commit is contained in:
@@ -146,9 +146,9 @@ 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,9 +156,9 @@ 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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -167,7 +167,7 @@ AudioEngine::seek( int ms )
|
|||||||
{
|
{
|
||||||
if ( m_playlist->skipSeekRestrictions() == PlaylistInterface::NoSeek ||
|
if ( m_playlist->skipSeekRestrictions() == PlaylistInterface::NoSeek ||
|
||||||
m_playlist->skipSeekRestrictions() == PlaylistInterface::NoSkipSeek )
|
m_playlist->skipSeekRestrictions() == PlaylistInterface::NoSkipSeek )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if ( isPlaying() || isPaused() )
|
if ( isPlaying() || isPaused() )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user