Commit dea85e8c authored by Michael Pyne's avatar Michael Pyne

This debug output has served its purpose

svn path=/trunk/KDE/kdemultimedia/juk/; revision=940260
parent 803d4e38
...@@ -434,19 +434,6 @@ void PlayerManager::slotTick(qint64 msec) ...@@ -434,19 +434,6 @@ void PlayerManager::slotTick(qint64 msec)
void PlayerManager::slotStateChanged(Phonon::State newstate, Phonon::State oldstate) void PlayerManager::slotStateChanged(Phonon::State newstate, Phonon::State oldstate)
{ {
const char *const states[] = {
"LoadingState",
"StoppedState",
"PlayingState",
"BufferingState",
"PausedState",
"ErrorState",
};
kDebug() << "called by media_" << ((sender() == m_media[0]) ? "0" : "1")
<< "cur Output path:" << m_curOutputPath;
kDebug() << "Old state:" << states[oldstate] << "New state:" << states[newstate];
// Use sender() since either media object may have sent the signal. // Use sender() since either media object may have sent the signal.
Phonon::MediaObject *mediaObject = qobject_cast<Phonon::MediaObject *>(sender()); Phonon::MediaObject *mediaObject = qobject_cast<Phonon::MediaObject *>(sender());
if(!mediaObject) if(!mediaObject)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment