summaryrefslogtreecommitdiffabout
path: root/korganizer/kowhatsnextview.cpp
Unidiff
Diffstat (limited to 'korganizer/kowhatsnextview.cpp') (more/less context) (show whitespace changes)
-rw-r--r--korganizer/kowhatsnextview.cpp4
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
@@ -208,13 +208,13 @@ void KOWhatsNextView::updateView()
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)*/) {
@@ -350,13 +350,13 @@ void KOWhatsNextView::updateView()
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
359void KOWhatsNextView::appendDay( int i, QDate eventDate ) 359void 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);