mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-04-20 07:52:30 +02:00
Connect the AudioEngine::paused() signal to
SourcePlaylistInterface::audioPaused() in LatchManager
This commit is contained in:
parent
69ee958b45
commit
bcd3120779
@ -66,6 +66,7 @@ LatchManager::latchRequest( const source_ptr& source )
|
||||
|
||||
m_state = Latching;
|
||||
m_waitingForLatch = source;
|
||||
connect( AudioEngine::instance(), SIGNAL( paused() ), source->playlistInterface().data(), SLOT( audioPaused() ) );
|
||||
AudioEngine::instance()->playItem( source->playlistInterface(), source->playlistInterface()->nextResult() );
|
||||
}
|
||||
|
||||
|
@ -39,9 +39,6 @@ SourcePlaylistInterface::SourcePlaylistInterface( Tomahawk::Source* source, Toma
|
||||
|
||||
if ( !m_source.isNull() )
|
||||
connect( m_source.data(), SIGNAL( playbackStarted( const Tomahawk::track_ptr& ) ), SLOT( onSourcePlaybackStarted( const Tomahawk::track_ptr& ) ) );
|
||||
|
||||
if ( AudioEngine::instance() )
|
||||
connect( AudioEngine::instance(), SIGNAL( paused() ), SLOT( audioPaused() ) );
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user