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

List:       kde-commits
Subject:    KDE/kdelibs/kdeui/dialogs
From:       Michael Jansen <kde () michael-jansen ! biz>
Date:       2008-02-22 14:35:12
Message-ID: 1203690912.345766.5138.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 778107 by mjansen:

Enable debug output for KShortcutsEditorItem::commit

 M  +3 -3      kshortcutseditoritem.cpp  


--- trunk/KDE/kdelibs/kdeui/dialogs/kshortcutseditoritem.cpp #778106:778107
@@ -283,9 +283,9 @@
 
 void KShortcutsEditorItem::commit()
 {
-#ifdef DEBUG
-    if (m_oldLocalShortcut or m_oldGlobalShortcut or m_oldShapeGesture or m_oldRockerGesture ) {
-        kDebug() << "Commiting changes for " << data(Name, QT::DisplayRole);
+#ifndef NDEBUG
+    if (m_oldLocalShortcut || m_oldGlobalShortcut || m_oldShapeGesture || m_oldRockerGesture ) {
+        kDebug() << "Commiting changes for " << data(Name, Qt::DisplayRole).toString();
     }
 #endif
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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