author | zautrix <zautrix> | 2005-03-21 12:34:49 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-03-21 12:34:49 (UTC) |
commit | ad4ecbb0cbf79f37140041eb9a14e71e6fd393f1 (patch) (side-by-side diff) | |
tree | b92ef416aa5542e06f1fc472d19619804ff897c8 | |
parent | 3b7ba9f46c78816bae8c4b30a455e261d7da9f4a (diff) | |
download | kdepimpi-ad4ecbb0cbf79f37140041eb9a14e71e6fd393f1.zip kdepimpi-ad4ecbb0cbf79f37140041eb9a14e71e6fd393f1.tar.gz kdepimpi-ad4ecbb0cbf79f37140041eb9a14e71e6fd393f1.tar.bz2 |
fixes
-rw-r--r-- | korganizer/koagendaitem.cpp | 2 | ||||
-rw-r--r-- | korganizer/kodaymatrix.cpp | 2 | ||||
-rw-r--r-- | korganizer/kotodoview.cpp | 2 |
3 files changed, 2 insertions, 4 deletions
diff --git a/korganizer/koagendaitem.cpp b/korganizer/koagendaitem.cpp index 19cc0e3..5ee433a 100644 --- a/korganizer/koagendaitem.cpp +++ b/korganizer/koagendaitem.cpp @@ -150,17 +150,17 @@ void KOAgendaItem::init ( Incidence *incidence, QDate qd ) xPaintCoord = -1; yPaintCoord = -1; } KOAgendaItem::~KOAgendaItem() { // qDebug("deleteKOAgendaItem::~KOAgendaItem( "); - delete mKOAgendaItemWhatsThis; + // delete mKOAgendaItemWhatsThis; } void KOAgendaItem::recreateIncidence() { #if 0 Incidence* newInc = mIncidence->clone(); newInc->recreate(); if ( mIncidence->doesRecur() ) { diff --git a/korganizer/kodaymatrix.cpp b/korganizer/kodaymatrix.cpp index 9c1f5f3..582b2ef 100644 --- a/korganizer/kodaymatrix.cpp +++ b/korganizer/kodaymatrix.cpp @@ -175,17 +175,16 @@ QString KODayMatrix::getWhatsThisText( QPoint p ) } if ( !event->doesFloat() ) { if ( mDate == event->dtStart().date () ) time = KGlobal::locale()->formatTime(event->dtStart().time())+" "; else if ( mDate == event->dtEnd().date () ) time = KGlobal::locale()->formatTime(event->dtEnd().time())+" "; } - qDebug("event->isMultiDay() %s", event->summary().latin1() ); text = time + event->summary(); mToolTipText += prefix + text; } else { if (event->doesFloat()) { text = event->summary(); mToolTipText += text; } else { @@ -205,17 +204,16 @@ QString KODayMatrix::getWhatsThisText( QPoint p ) } if ( mToolTipText.find ('>') > 0 ) { mToolTipText.replace( QRegExp(">") , ">" ); } #endif mToolTip.append( mToolTipText ); } mToolTip.sort(); - qDebug("%s ", mToolTip.join("<br>").latin1()); return "<b>"+KGlobal::locale()->formatDate(days[tmp]) + "</b><br>" + mToolTip.join("<br>"); } void KODayMatrix::setCalendar( Calendar *cal ) { mCalendar = cal; setAcceptDrops( mCalendar ); diff --git a/korganizer/kotodoview.cpp b/korganizer/kotodoview.cpp index 2b01c23..e008625 100644 --- a/korganizer/kotodoview.cpp +++ b/korganizer/kotodoview.cpp @@ -545,17 +545,17 @@ KOTodoView::KOTodoView(Calendar *calendar,QWidget* parent,const char* name) : SLOT( processSelectionChange() ) ); connect( mQuickAdd, SIGNAL( returnPressed () ), SLOT( addQuickTodo() ) ); } KOTodoView::~KOTodoView() { - delete mKOTodoViewWhatsThis; + // delete mKOTodoViewWhatsThis; delete mDocPrefs; } QString KOTodoView::getWhatsThisText(QPoint p) { KOTodoViewItem* item = ( KOTodoViewItem* ) mTodoListView->itemAt( p ); if ( item ) return KIncidenceFormatter::instance()->getFormattedText( item->todo(), KOPrefs::instance()->mWTshowDetails, |