From 7c31102a00920834ab8e3778f0f459b96b2fb309 Mon Sep 17 00:00:00 2001 From: zautrix Date: Sat, 30 Apr 2005 07:32:03 +0000 Subject: fixes --- (limited to 'libkcal/todo.cpp') diff --git a/libkcal/todo.cpp b/libkcal/todo.cpp index f7e38a7..d7431c7 100644 --- a/libkcal/todo.cpp +++ b/libkcal/todo.cpp @@ -112,7 +112,11 @@ void Todo::saveRunningInfoToFile( QString comment ) to->setHasDueDate( true ); to->setUid( file ); if ( !comment.isEmpty() ) { - to->setDescription( comment ); + QString des = to->description(); + if ( des.isEmpty () ) + to->setDescription( "TT-Note: " + comment ); + else + to->setDescription( "TT-Note: " + comment +"\n" + des ); } cal.addIncidence( to ); ICalFormat format; -- cgit v0.9.0.2