author | zautrix <zautrix> | 2004-10-29 21:14:38 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-10-29 21:14:38 (UTC) |
commit | 8e08679a79398def54980c0e838b242d69ca6030 (patch) (unidiff) | |
tree | c04ba4bbe80114de69b1b80372c54046d6394e2a | |
parent | 3c0edb4b4c4a77b334331749dfde776911c3a3a0 (diff) | |
download | kdepimpi-8e08679a79398def54980c0e838b242d69ca6030.zip kdepimpi-8e08679a79398def54980c0e838b242d69ca6030.tar.gz kdepimpi-8e08679a79398def54980c0e838b242d69ca6030.tar.bz2 |
removed debug
-rw-r--r-- | korganizer/kowhatsnextview.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/korganizer/kowhatsnextview.cpp b/korganizer/kowhatsnextview.cpp index 2f7409d..8371523 100644 --- a/korganizer/kowhatsnextview.cpp +++ b/korganizer/kowhatsnextview.cpp | |||
@@ -206,17 +206,17 @@ void KOWhatsNextView::updateView() | |||
206 | //mText += " <img src=\""; | 206 | //mText += " <img src=\""; |
207 | //mText += ipath; | 207 | //mText += ipath; |
208 | //mText += "\">"; | 208 | //mText += "\">"; |
209 | if ( ! itemAdded ) { | 209 | if ( ! itemAdded ) { |
210 | appendDay ( iii, mEventDate ); | 210 | appendDay ( iii, mEventDate ); |
211 | 211 | ||
212 | } | 212 | } |
213 | // for first day (iii == 0) | 213 | // for first day (iii == 0) |
214 | // we may have syncevents, or events in the past, which maybe should nor be diaplayed | 214 | // we may have syncevents, or events in the past, which maybe should not be diaplayed |
215 | // for that reason we cannot append <table> in appendDay () for iii == 0 | 215 | // for that reason we cannot append <table> in appendDay () for iii == 0 |
216 | // we must append it in the first successful call of appendEvent() | 216 | // we must append it in the first successful call of appendEvent() |
217 | Event *ev = events.first(); | 217 | Event *ev = events.first(); |
218 | while(ev) { | 218 | while(ev) { |
219 | //qDebug("+++++event append %s", ev->summary().latin1()); | 219 | //qDebug("+++++event append %s", ev->summary().latin1()); |
220 | if ( true /*!ev->recurrence()->doesRecur() || ev->recursOn( mEventDate)*/) { | 220 | if ( true /*!ev->recurrence()->doesRecur() || ev->recursOn( mEventDate)*/) { |
221 | if ( appendEvent(ev, false , iii!= 0,!itemAdded ) ) | 221 | if ( appendEvent(ev, false , iii!= 0,!itemAdded ) ) |
222 | itemAdded = true; | 222 | itemAdded = true; |
@@ -348,17 +348,17 @@ void KOWhatsNextView::updateView() | |||
348 | // qDebug("xxxxxxxxxxxxxxxxxxxxx "); | 348 | // qDebug("xxxxxxxxxxxxxxxxxxxxx "); |
349 | // QWidget* test = new QWidget(); | 349 | // QWidget* test = new QWidget(); |
350 | // test->setBackgroundMode(FixedPixmap ); | 350 | // test->setBackgroundMode(FixedPixmap ); |
351 | // test->setBackgroundPixmap ( bPix ); | 351 | // test->setBackgroundPixmap ( bPix ); |
352 | // test->resize( 300, 400 ); | 352 | // test->resize( 300, 400 ); |
353 | // test->show(); | 353 | // test->show(); |
354 | // mView->setBackgroundMode(FixedPixmap ); | 354 | // mView->setBackgroundMode(FixedPixmap ); |
355 | // mView->setBackgroundPixmap ( bPix ); | 355 | // mView->setBackgroundPixmap ( bPix ); |
356 | qDebug("%s ",mText.latin1()); | 356 | // qDebug("%s ",mText.latin1()); |
357 | } | 357 | } |
358 | 358 | ||
359 | void KOWhatsNextView::appendDay( int i, QDate eventDate ) | 359 | void KOWhatsNextView::appendDay( int i, QDate eventDate ) |
360 | { | 360 | { |
361 | QString date; | 361 | QString date; |
362 | QString day = KGlobal::locale()->formatDate( eventDate , KOPrefs::instance()->mShortDateInViewer); | 362 | QString day = KGlobal::locale()->formatDate( eventDate , KOPrefs::instance()->mShortDateInViewer); |
363 | if ( ! KOPrefs::instance()->mShortDateInViewer && QApplication::desktop()->width() < 320 ) { | 363 | if ( ! KOPrefs::instance()->mShortDateInViewer && QApplication::desktop()->width() < 320 ) { |
364 | if ( i == 0 ) { | 364 | if ( i == 0 ) { |