mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +02:00
* AudioEngine shouldn't emit started() until we're really in playing state.
This commit is contained in:
@@ -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 );
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user