From ff205358654ed8741f0008eabd64a0e8b0476b61 Mon Sep 17 00:00:00 2001 From: zautrix Date: Mon, 04 Apr 2005 18:24:25 +0000 Subject: fix --- (limited to 'libkcal/calendarlocal.cpp') diff --git a/libkcal/calendarlocal.cpp b/libkcal/calendarlocal.cpp index 5c889c3..00a43e5 100644 --- a/libkcal/calendarlocal.cpp +++ b/libkcal/calendarlocal.cpp @@ -298,7 +298,6 @@ void CalendarLocal::checkAlarmForIncidence( Incidence * incidence, bool deleted QDateTime nextA; // QString nextSum; //QDateTime nextEvent; - mNextAlarmEventDateTime = QDateTime(); if ( mNextAlarmIncidence == 0 || incidence == 0 ) { computeNextAlarm = true; } else { @@ -374,6 +373,7 @@ void CalendarLocal::deRegisterAlarm() //qDebug("-- deregister Alarm %s ", mLastAlarmNotificationString.latin1() ); emit removeAlarm ( mNextAlarmDateTime, mLastAlarmNotificationString ); + mNextAlarmEventDateTime = QDateTime(); // #ifndef DESKTOP_VERSION // AlarmServer::deleteAlarm (mNextAlarmDateTime ,"koalarm" ,mLastAlarmNotificationString.latin1() ); // #endif -- cgit v0.9.0.2