[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdelibs/khtml (silent)
From:       David Faure <faure () kde ! org>
Date:       2007-12-17 18:02:55
Message-ID: 1197914575.033046.10374.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 749722 by dfaure:

SVN_SILENT silence debug output, now that it works


 M  +11 -11    khtml_global.cpp  


--- trunk/KDE/kdelibs/khtml/khtml_global.cpp #749721:749722
@@ -63,7 +63,7 @@
 
 KHTMLGlobal::~KHTMLGlobal()
 {
-    kDebug(6000) << this;
+    //kDebug(6000) << this;
     if ( s_self == this )
     {
         finalCheck();
@@ -71,7 +71,7 @@
         delete s_componentData;
         delete s_about;
         delete s_settings;
-	delete KHTMLSettings::avFamilies;
+        delete KHTMLSettings::avFamilies;
         if (s_parts) {
             assert(s_parts->isEmpty());
             delete s_parts;
@@ -87,7 +87,7 @@
         s_settings = 0;
         s_parts = 0;
         s_docs = 0;
-	KHTMLSettings::avFamilies = 0;
+        KHTMLSettings::avFamilies = 0;
 
         // clean up static data
         khtml::CSSStyleSelector::clear();
@@ -105,7 +105,7 @@
 {
     if ( !s_refcnt && !s_self )
     {
-        kDebug(6000) << "Creating KHTMLGlobal instance";
+        //kDebug(6000) << "Creating KHTMLGlobal instance";
         // we can't use a staticdeleter here, because that would mean
         // that the KHTMLGlobal instance gets deleted from within a qPostRoutine, called
         // from the QApplication destructor. That however is too late, because
@@ -119,12 +119,12 @@
     } else {
         ++s_refcnt;
     }
-    kDebug(6000) << "s_refcnt=" << s_refcnt;
+    //kDebug(6000) << "s_refcnt=" << s_refcnt;
 }
 
 void KHTMLGlobal::deref()
 {
-    kDebug(6000) << "s_refcnt=" << s_refcnt - 1;
+    //kDebug(6000) << "s_refcnt=" << s_refcnt - 1;
     if ( !--s_refcnt && s_self )
     {
         delete s_self;
@@ -134,7 +134,7 @@
 
 void KHTMLGlobal::registerPart( KHTMLPart *part )
 {
-    kDebug() << part;
+    //kDebug(6000) << part;
     if ( !s_parts )
         s_parts = new QLinkedList<KHTMLPart*>;
 
@@ -146,7 +146,7 @@
 
 void KHTMLGlobal::deregisterPart( KHTMLPart *part )
 {
-    kDebug() << part;
+    //kDebug(6000) << part;
     assert( s_parts );
 
     if ( s_parts->removeAll( part ) ) {
@@ -160,7 +160,7 @@
 
 void KHTMLGlobal::registerDocumentImpl( DOM::DocumentImpl *doc )
 {
-    kDebug() << doc;
+    //kDebug(6000) << doc;
     if ( !s_docs )
         s_docs = new QLinkedList<DOM::DocumentImpl*>;
 
@@ -172,7 +172,7 @@
 
 void KHTMLGlobal::deregisterDocumentImpl( DOM::DocumentImpl *doc )
 {
-    kDebug() << doc;
+    //kDebug(6000) << doc;
     assert( s_docs );
 
     if ( s_docs->removeAll( doc ) ) {
@@ -230,7 +230,7 @@
 
 void KHTMLGlobal::finalCheck()
 {
-    kDebug(6000) << "s_refcnt=" << s_refcnt;
+    //kDebug(6000) << "s_refcnt=" << s_refcnt;
     if (s_refcnt) {
         if (s_parts && !s_parts->isEmpty()) {
             kWarning(6000) << s_parts->count() << "parts not deleted";
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic