1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-09 07:36:48 +02:00

Don't use '#if 0' - it might be defined and cause weird issues.

This commit is contained in:
Christian Muehlhaeuser
2015-04-18 05:33:52 +02:00
parent 38f05a7353
commit 391cc821f8

View File

@@ -142,8 +142,7 @@ AudioEnginePrivate::onStateChanged( AudioOutput::AudioState newState, AudioOutpu
q_ptr->stop(); q_ptr->stop();
} }
} }
#if 0 /* This is obsolete, we always expect stop
//This is obsolete, we always expect stop
else if ( stopped ) else if ( stopped )
{ {
// We did not expect a Stop here, so do not go to the next track // 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 // A possible scenario where we can reach this is point if we pause
// an stream that cannot be paused. // an stream that cannot be paused.
q_ptr->setState( AudioEngine::Stopped ); q_ptr->setState( AudioEngine::Stopped );
} }*/
#endif
} }
} }