From 042f35a481acf6c4e711e98184abb6c9f6542429 Mon Sep 17 00:00:00 2001 From: zautrix Date: Wed, 30 Nov 2005 08:30:24 +0000 Subject: commit --- (limited to 'korganizer/kotodoeditor.cpp') diff --git a/korganizer/kotodoeditor.cpp b/korganizer/kotodoeditor.cpp index 682f83b..20a35d2 100644 --- a/korganizer/kotodoeditor.cpp +++ b/korganizer/kotodoeditor.cpp @@ -27,6 +27,7 @@ #include #include #include +#include #include #include #include @@ -259,6 +260,9 @@ bool KOTodoEditor::processInput( bool emitTime ) mCalendar->addTodo(todo); mTodo = todo; emit todoAdded(todo); + if ( todo->isAlarmEnabled () && !todo->alarmEnabled () ) { + QTimer::singleShot( 0, this, SLOT ( alarmWarning() ) ); + } } return true; -- cgit v0.9.0.2