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

List:       kde-commits
Subject:    KDE/kdelibs/kdeui/shortcuts
From:       Michael Jansen <kde () michael-jansen ! biz>
Date:       2008-09-30 23:42:37
Message-ID: 1222818157.633872.10225.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 866476 by mjansen:

Add debug areas.

 M  +4 -4      kdedglobalaccel.cpp  


--- trunk/KDE/kdelibs/kdeui/shortcuts/kdedglobalaccel.cpp #866475:866476
@@ -451,15 +451,15 @@
                     // to be ad
 #ifndef NDEBUG
                     if (!d->keyToAction.contains(key)) {
-                        kDebug() << "Key not found!";
+                        kDebug(125) << "Key not found!";
                     }
 
                     if (d->keyToAction.value(key) != ad) {
                         if (d->keyToAction.value(key)) {
-                            kDebug() << "ASSERTION WILL FAIL!" << "Expected" << \
ad->parent->friendlyName << ad->uniqueName  +                            kDebug(125) \
<< "ASSERTION WILL FAIL!" << "Expected" << ad->parent->friendlyName << ad->uniqueName \
                
                                      << "\ngot" << \
d->keyToAction.value(key)->parent->friendlyName << \
d->keyToAction.value(key)->uniqueName;  } else {
-                            kDebug() << "Is NULL";
+                            kDebug(125) << "Is NULL";
                         }
                     }
 #endif
@@ -707,7 +707,7 @@
 
     actionData *ad = d->keyToAction.value(keyQt);
     if (!ad || !ad->isPresent) {
-        kDebug() << "skipping because action is not active";
+        kDebug(125) << "skipping because action is not active";
         return false;
     }
 


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

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