mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-20 15:59:42 +01:00
* AudioEngine shouldn't emit started() until we're really in playing state.
This commit is contained in:
parent
5e4b0b96be
commit
c6d8da2e98
@ -496,7 +496,6 @@ AudioEngine::loadTrack( const Tomahawk::result_ptr& result )
|
||||
}
|
||||
m_input = io;
|
||||
queueState( Playing );
|
||||
emit started( m_currentTrack );
|
||||
|
||||
if ( TomahawkSettings::instance()->privateListeningMode() != TomahawkSettings::FullyPrivate )
|
||||
{
|
||||
@ -750,6 +749,7 @@ AudioEngine::onStateChanged( Phonon::State newState, Phonon::State oldState )
|
||||
}
|
||||
if ( newState == Phonon::PlayingState )
|
||||
{
|
||||
emit started( m_currentTrack );
|
||||
setState( Playing );
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user