-rw-r--r-- | korganizer/komonthview.cpp | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/korganizer/komonthview.cpp b/korganizer/komonthview.cpp index 2b7e41f..843526d 100644 --- a/korganizer/komonthview.cpp +++ b/korganizer/komonthview.cpp @@ -288,5 +288,4 @@ MonthViewItem::MonthViewItem( Incidence *incidence, QDate qd, const QString & s) mdayPos = 0; isWeekItem = KOPrefs::instance()->mMonthViewWeek; - //qDebug("NEWWWWWWWWWWWWW "); } void MonthViewItem::recycle( Incidence *incidence, QDate qd, const QString & s) @@ -301,5 +300,4 @@ void MonthViewItem::recycle( Incidence *incidence, QDate qd, const QString & s) mInfo = false; mdayPos = 0; - //qDebug("recucleeeeeeeeeeeeeeeee "); } @@ -307,8 +305,6 @@ void MonthViewItem::paint(QPainter *p) { if ( mblockRepaint ) { - //qDebug("block "); return; } - //qDebug("NON block "); #if QT_VERSION >= 0x030000 bool sel = isSelected(); @@ -461,5 +457,4 @@ int MonthViewItem::width(const QListBox *lb) const if ( ! lb ) return 10; - //qDebug("ret wid %d ", lb->width()); return lb->width(); } @@ -613,10 +608,5 @@ void MonthViewCell::startUpdateCell() mAvailItemList.setAutoDelete( false ); } - /* - if ( !isVisible() ){ - return; - } - */ - // qDebug("MonthViewCell::updateCell() "); + setPrimary( mDate.month()%2 ); setHoliday( KOGlobals::self()->calendarSystem()->dayOfWeek(mDate) == KOGlobals::self()->calendarSystem()->weekDayOfPray() || ( mDate.dayOfWeek() == 6 ) && KOPrefs::instance()-> mExcludeSaturdays); @@ -872,5 +862,4 @@ void MonthViewCell::finishUpdateCell() void MonthViewCell::updateCell() { - //qDebug("MonthViewCell::updateCell() "); if ( !mMonthView->isUpdatePossible() ) return; @@ -1054,5 +1043,4 @@ void MonthViewCell::cellClicked( QListBoxItem *item ) { mMonthView->setSelectedCell( this ); - qDebug("CELL "); if ( item == 0 ) { QDateTime dt( date(), QTime( KOPrefs::instance()->mStartTime, 0 ) ); |