From 391cc821f843c6a78e0a23b3ce7c9fde6b4c18bc Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Sat, 18 Apr 2015 05:33:52 +0200 Subject: [PATCH] Don't use '#if 0' - it might be defined and cause weird issues. --- src/libtomahawk/audio/AudioEngine.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/libtomahawk/audio/AudioEngine.cpp b/src/libtomahawk/audio/AudioEngine.cpp index db1fa2dee..e0c281fe9 100644 --- a/src/libtomahawk/audio/AudioEngine.cpp +++ b/src/libtomahawk/audio/AudioEngine.cpp @@ -142,8 +142,7 @@ AudioEnginePrivate::onStateChanged( AudioOutput::AudioState newState, AudioOutpu q_ptr->stop(); } } -#if 0 - //This is obsolete, we always expect stop + /* This is obsolete, we always expect stop else if ( stopped ) { // We did not expect a Stop here, so do not go to the next track @@ -152,8 +151,7 @@ AudioEnginePrivate::onStateChanged( AudioOutput::AudioState newState, AudioOutpu // A possible scenario where we can reach this is point if we pause // an stream that cannot be paused. q_ptr->setState( AudioEngine::Stopped ); - } -#endif + }*/ } }