From 0ba7a58bf0c71c6e0f1d2bee38c78dd6bcc3452c Mon Sep 17 00:00:00 2001 From: "Uwe L. Korn" Date: Sat, 19 Jul 2014 19:09:40 +0100 Subject: [PATCH] Only set stopped when we really stopped --- src/libtomahawk/audio/AudioEngine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libtomahawk/audio/AudioEngine.cpp b/src/libtomahawk/audio/AudioEngine.cpp index d310ae3cf..2b7c81868 100644 --- a/src/libtomahawk/audio/AudioEngine.cpp +++ b/src/libtomahawk/audio/AudioEngine.cpp @@ -146,7 +146,7 @@ AudioEnginePrivate::onStateChanged( Phonon::State newState, Phonon::State oldSta q_ptr->stop(); } } - else + else if ( stopped ) { // We did not expect a Stop here, so do not go to the next track // but change the AudioEngine state