summaryrefslogtreecommitdiffabout
path: root/korganizer
authorzautrix <zautrix>2004-10-29 21:14:38 (UTC)
committer zautrix <zautrix>2004-10-29 21:14:38 (UTC)
commit8e08679a79398def54980c0e838b242d69ca6030 (patch) (side-by-side diff)
treec04ba4bbe80114de69b1b80372c54046d6394e2a /korganizer
parent3c0edb4b4c4a77b334331749dfde776911c3a3a0 (diff)
downloadkdepimpi-8e08679a79398def54980c0e838b242d69ca6030.zip
kdepimpi-8e08679a79398def54980c0e838b242d69ca6030.tar.gz
kdepimpi-8e08679a79398def54980c0e838b242d69ca6030.tar.bz2
removed debug
Diffstat (limited to 'korganizer') (more/less context) (ignore 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
@@ -202,25 +202,25 @@ void KOWhatsNextView::updateView()
if (events.count() > 0) {
// mText += "<p></p>";
// kil.loadIcon("month",KIcon::NoGroup,22,KIcon::DefaultState,&ipath);
// mText += "<h2>";
//mText += " <img src=\"";
//mText += ipath;
//mText += "\">";
if ( ! itemAdded ) {
appendDay ( iii, mEventDate );
}
// for first day (iii == 0)
- // we may have syncevents, or events in the past, which maybe should nor be diaplayed
+ // we may have syncevents, or events in the past, which maybe should not be diaplayed
// for that reason we cannot append <table> in appendDay () for iii == 0
// we must append it in the first successful call of appendEvent()
Event *ev = events.first();
while(ev) {
//qDebug("+++++event append %s", ev->summary().latin1());
if ( true /*!ev->recurrence()->doesRecur() || ev->recursOn( mEventDate)*/) {
if ( appendEvent(ev, false , iii!= 0,!itemAdded ) )
itemAdded = true;
}
ev = events.next();
}
@@ -344,25 +344,25 @@ void KOWhatsNextView::updateView()
mView->setText(mText);
mView->setFocus();
// QPixmap bPix = SmallIcon( "back" );
// qDebug("xxxxxxxxxxxxxxxxxxxxx ");
// QWidget* test = new QWidget();
// test->setBackgroundMode(FixedPixmap );
// test->setBackgroundPixmap ( bPix );
// test->resize( 300, 400 );
// test->show();
// mView->setBackgroundMode(FixedPixmap );
// mView->setBackgroundPixmap ( bPix );
- qDebug("%s ",mText.latin1());
+ // qDebug("%s ",mText.latin1());
}
void KOWhatsNextView::appendDay( int i, QDate eventDate )
{
QString date;
QString day = KGlobal::locale()->formatDate( eventDate , KOPrefs::instance()->mShortDateInViewer);
if ( ! KOPrefs::instance()->mShortDateInViewer && QApplication::desktop()->width() < 320 ) {
if ( i == 0 ) {
//mText += "<table>\n";
return;//date = "<em><font color=\"#008000\"><em>" + day+"</font></em>";
}
else if ( i == 1 )