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

List:       kde-commits
Subject:    KDE/kdegraphics/kolourpaint/widgets/toolbars
From:       Christoph Feck <christoph () maxiom ! de>
Date:       2010-06-14 19:15:28
Message-ID: 20100614191528.DF802AC8D4 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1137953 by cfeck:

Fix compile when DEBUG_KP_TOOL_TOOL_BAR is enabled

Patch by Igor Poboiko, thanks!


 M  +4 -4      kpToolToolBar.cpp  


--- trunk/KDE/kdegraphics/kolourpaint/widgets/toolbars/kpToolToolBar.cpp #1137952:1137953
@@ -403,8 +403,8 @@
          it++)
     {
     #if DEBUG_KP_TOOL_TOOL_BAR
-        kDebug () << "\t" << (*it)->name ()
-                   << " isShown=" << (*it)->isShown ()
+        kDebug () << "\t" << (*it)->objectName ()
+                   << " isShown=" << !(*it)->isHidden ()
                    << endl;
     #endif
         if (!(*it)->isHidden ())
@@ -501,7 +501,7 @@
 
 #if DEBUG_KP_TOOL_TOOL_BAR
     kDebug () << "kpToolToolBar::slotToolActionActivated() tool="
-               << (tool ? tool->name () : "null")
+               << (tool ? tool->objectName () : "null")
                << endl;
 #endif
 
@@ -527,7 +527,7 @@
 
 #if DEBUG_KP_TOOL_TOOL_BAR
     kDebug () << "kpToolToolBar::slotToolActionToolTipChanged() tool="
-               << (tool ? tool->name () : "null")
+               << (tool ? tool->objectName () : "null")
                << endl;
 #endif
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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