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

List:       kde-commits
Subject:    KDE/kdepimlibs/kcal
From:       David Jarvie <software () astrojar ! org ! uk>
Date:       2006-10-01 17:44:06
Message-ID: 1159724646.373861.25937.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 591092 by djarvie:

Remove excessive kDebug statements

 M  +0 -6      recurrencerule.cpp  


--- trunk/KDE/kdepimlibs/kcal/recurrencerule.cpp #591091:591092
@@ -902,13 +902,10 @@
   QDateTime next;
 
   DateTimeList dts = datesForInterval( interval, recurrenceType() );
-kDebug()<<" dts="<<endl;
-for(int x=0,xend=dts.count(); x<xend; ++x) { kDebug()<<"-- "<<x<<": "<<dts[x]<<endl; }
   // Only use dates after the event has started (start date is only included
   // if it matches)
   int i = dts.findLT( startDt() );
   if ( i >= 0 ) {
-kDebug()<<"erasing to "<<i<<endl;
     dts.erase( dts.begin(), dts.begin() + i + 1 );
   }
 
@@ -921,14 +918,11 @@
     interval.increase( recurrenceType(), frequency() );
     // The returned date list is already sorted!
     dts += datesForInterval( interval, recurrenceType() );
-kDebug()<<" dts="<<endl;
-for(int x=0,xend=dts.count(); x<xend; ++x) { kDebug()<<"-- "<<x<<": "<<dts[x]<<endl; }
     dtnr = dts.count();
     ++loopnr;
   }
   if ( dts.count() > mDuration ) {
     // we have picked up more occurrences than necessary, remove them
-kDebug()<<"erasing from "<<mDuration<<endl;
     dts.erase( dts.begin() + mDuration, dts.end() );
   }
   mCached = true;
[prev in list] [next in list] [prev in thread] [next in thread] 

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