From cdc55afb3d2c3ebd970843b7dce02acb1e6a189b Mon Sep 17 00:00:00 2001 From: zautrix Date: Fri, 10 Jun 2005 20:13:31 +0000 Subject: many preparations for multiple calendars --- (limited to 'libkcal/todo.cpp') diff --git a/libkcal/todo.cpp b/libkcal/todo.cpp index c97a61e..42274ff 100644 --- a/libkcal/todo.cpp +++ b/libkcal/todo.cpp @@ -517,7 +517,7 @@ void Todo::setPercentComplete(int v) } QDateTime Todo::getNextAlarmDateTime( bool * ok, int * offset, QDateTime start_dt ) const { - if ( isCompleted() || ! hasDueDate() || cancelled() ) { + if ( isCompleted() || ! hasDueDate() || cancelled() || !alarmEnabled() ) { *ok = false; return QDateTime (); } -- cgit v0.9.0.2