-rw-r--r-- | libkcal/calendarlocal.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libkcal/calendarlocal.cpp b/libkcal/calendarlocal.cpp index 5c889c3..00a43e5 100644 --- a/libkcal/calendarlocal.cpp +++ b/libkcal/calendarlocal.cpp @@ -300,3 +300,2 @@ void CalendarLocal::checkAlarmForIncidence( Incidence * incidence, bool deleted //QDateTime nextEvent; - mNextAlarmEventDateTime = QDateTime(); if ( mNextAlarmIncidence == 0 || incidence == 0 ) { @@ -376,2 +375,3 @@ void CalendarLocal::deRegisterAlarm() emit removeAlarm ( mNextAlarmDateTime, mLastAlarmNotificationString ); + mNextAlarmEventDateTime = QDateTime(); // #ifndef DESKTOP_VERSION |