2008-05-09 Tor Arne Vestbø <tavestbo@trolltech.com>
authorhausmann@webkit.org <hausmann@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 9 May 2008 10:21:02 +0000 (10:21 +0000)
committerhausmann@webkit.org <hausmann@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 9 May 2008 10:21:02 +0000 (10:21 +0000)
        Reviewed by Simon.

        Replaced all instances of qDebug() with LOG(Media, ...)
        in MediaPlayerPrivatePhonon.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@33003 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/platform/graphics/qt/MediaPlayerPrivatePhonon.cpp

index 08b04e4..86dadaf 100644 (file)
@@ -1,5 +1,15 @@
 2008-05-09  Tor Arne Vestbø  <tavestbo@trolltech.com>
 
+        Reviewed by Simon.
+
+        Replaced all instances of qDebug() with LOG(Media, ...)
+        in MediaPlayerPrivatePhonon.
+
+        * platform/graphics/qt/MediaPlayerPrivatePhonon.cpp:
+        (WebCore::MediaPlayerPrivate::updateStates):
+
+2008-05-09  Tor Arne Vestbø  <tavestbo@trolltech.com>
+
         Reviewed by Simon
 
         Fix the Qt/Mac build.
index e299329..ebb34e2 100644 (file)
@@ -330,7 +330,7 @@ void MediaPlayerPrivate::updateStates()
     if (m_networkState != oldNetworkState) {
         const QMetaObject* metaObj = this->metaObject();
         QMetaEnum networkStates = metaObj->enumerator(metaObj->indexOfEnumerator("NetworkState"));
-        qDebug("Network state changed from '%s' to '%s'",
+        LOG(Media, "Network state changed from '%s' to '%s'",
                 networkStates.valueToKey(oldNetworkState),
                 networkStates.valueToKey(m_networkState));
         m_player->networkStateChanged();
@@ -339,7 +339,7 @@ void MediaPlayerPrivate::updateStates()
     if (m_readyState != oldReadyState) {
         const QMetaObject* metaObj = this->metaObject();
         QMetaEnum readyStates = metaObj->enumerator(metaObj->indexOfEnumerator("ReadyState"));
-        qDebug("Ready state changed from '%s' to '%s'",
+        LOG(Media, "Ready state changed from '%s' to '%s'",
                 readyStates.valueToKey(oldReadyState),
                 readyStates.valueToKey(m_readyState));
         m_player->readyStateChanged();