From b76ad1e7e329051a47e28c9d132ce3fcd0b25c5c Mon Sep 17 00:00:00 2001 From: zautrix Date: Thu, 31 Mar 2005 23:55:51 +0000 Subject: fixes --- (limited to 'korganizer/komonthview.cpp') diff --git a/korganizer/komonthview.cpp b/korganizer/komonthview.cpp index b9ce4f4..ab9a4b6 100644 --- a/korganizer/komonthview.cpp +++ b/korganizer/komonthview.cpp @@ -937,7 +937,11 @@ void MonthViewCell::resizeEvent ( QResizeEvent * e ) void MonthViewCell::defaultAction( QListBoxItem *item ) { - if ( !item ) return; + if ( !item ) { + QDateTime dt( date(), QTime( KOPrefs::instance()->mStartTime, 0 ) ); + emit newEventSignal( dt ); + return; + } MonthViewItem *eventItem = static_cast( item ); Incidence *incidence = eventItem->incidence(); @@ -1371,6 +1375,7 @@ void KOMonthView::changeEventDisplay(Event *, int) { // this should be re-written to be much more efficient, but this // quick-and-dirty-hack gets the job done for right now. + qDebug("KOMonthView::changeEventDisplay "); updateView(); } -- cgit v0.9.0.2