-rw-r--r-- | korganizer/calendarview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp index bd7376a..904bbe2 100644 --- a/korganizer/calendarview.cpp +++ b/korganizer/calendarview.cpp | |||
@@ -3982,25 +3982,25 @@ bool CalendarView::removeCompletedSubTodos( Todo* t ) | |||
3982 | mCalendar->deleteTodo( t ); | 3982 | mCalendar->deleteTodo( t ); |
3983 | changeTodoDisplay( t,KOGlobals::EVENTDELETED ); | 3983 | changeTodoDisplay( t,KOGlobals::EVENTDELETED ); |
3984 | } | 3984 | } |
3985 | else | 3985 | else |
3986 | deleteTodo = false; | 3986 | deleteTodo = false; |
3987 | } | 3987 | } |
3988 | return deleteTodo; | 3988 | return deleteTodo; |
3989 | 3989 | ||
3990 | } | 3990 | } |
3991 | void CalendarView::purgeCompleted() | 3991 | void CalendarView::purgeCompleted() |
3992 | { | 3992 | { |
3993 | int result = KMessageBox::warningContinueCancel(this, | 3993 | int result = KMessageBox::warningContinueCancel(this, |
3994 | i18n("Delete all\ncompleted To-Dos?"),i18n("Purge To-Dos"),i18n("Purge")); | 3994 | i18n("Delete all completed todos?\n(Completed recurring todos\nwill not be deleted!)"),i18n("Purge Todos"),i18n("Purge")); |
3995 | 3995 | ||
3996 | if (result == KMessageBox::Continue) { | 3996 | if (result == KMessageBox::Continue) { |
3997 | 3997 | ||
3998 | QPtrList<Todo> todoCal; | 3998 | QPtrList<Todo> todoCal; |
3999 | QPtrList<Todo> rootTodos; | 3999 | QPtrList<Todo> rootTodos; |
4000 | //QPtrList<Incidence> rel; | 4000 | //QPtrList<Incidence> rel; |
4001 | Todo *aTodo;//, *rTodo; | 4001 | Todo *aTodo;//, *rTodo; |
4002 | Incidence *rIncidence; | 4002 | Incidence *rIncidence; |
4003 | bool childDelete = false; | 4003 | bool childDelete = false; |
4004 | bool deletedOne = true; | 4004 | bool deletedOne = true; |
4005 | todoCal = calendar()->todos(); | 4005 | todoCal = calendar()->todos(); |
4006 | for (aTodo = todoCal.first(); aTodo; aTodo = todoCal.next()) { | 4006 | for (aTodo = todoCal.first(); aTodo; aTodo = todoCal.next()) { |