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

List:       kde-commits
Subject:    KDE/kdegraphics/kolourpaint (silent)
From:       Clarence Dang <dang () kde ! org>
Date:       2006-07-15 2:17:55
Message-ID: 1152929875.472716.31024.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 562504 by dang:

SVN_SILENT -debug


 M  +5 -5      kpview.cpp  


--- trunk/KDE/kdegraphics/kolourpaint/kpview.cpp #562503:562504
@@ -26,7 +26,7 @@
 */
 
 
-#define DEBUG_KP_VIEW 1
+#define DEBUG_KP_VIEW 0
 #define DEBUG_KP_VIEW_RENDERER ((DEBUG_KP_VIEW && 1) || 0)
 
 
@@ -1024,7 +1024,7 @@
 // protected virtual [base QWidget]
 bool kpView::event (QEvent *e)
 {
-#if DEBUG_KP_VIEW || 1
+#if DEBUG_KP_VIEW
     kDebug () << "kpView::event() invoking kpTool::event()" << endl;
 #endif
     if (tool () && tool ()->viewEvent (e))
@@ -1340,7 +1340,7 @@
 
     if (scrollableContainer ())
     {
-    #if DEBUG_KP_VIEW_RENDERER && 1 || 1
+    #if DEBUG_KP_VIEW_RENDERER && 1
         kDebug () << "\tscrollableContainer: contents[XY]="
                    << QPoint (scrollableContainer ()->contentsX (),
                               scrollableContainer ()->contentsY ())
@@ -1355,7 +1355,7 @@
         // squares.
         patternOrigin = QPoint (scrollableContainer ()->contentsXSoon (),
                                 scrollableContainer ()->contentsYSoon ());
-    #if DEBUG_KP_VIEW_RENDERER && 1 || 1
+    #if DEBUG_KP_VIEW_RENDERER && 1
         kDebug () << "\t\tpatternOrigin=" << patternOrigin << endl;
     #endif
     }
@@ -1914,7 +1914,7 @@
 
     kpViewManager *vm = viewManager ();
 
-#if DEBUG_KP_VIEW_RENDERER && 1 || 1
+#if DEBUG_KP_VIEW_RENDERER && 1
     kDebug () << "kpView(" << objectName () << ")::paintEvent() vm=" << (bool) vm
                << " queueUpdates=" << (vm && vm->queueUpdates ())
                << " fastUpdates=" << (vm && vm->fastUpdates ())
[prev in list] [next in list] [prev in thread] [next in thread] 

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