From 0c3303957aa56abb12c0cc4db1493eea5a995f28 Mon Sep 17 00:00:00 2001 From: zecke Date: Sat, 27 Apr 2002 18:10:51 +0000 Subject: Update TODO Update todoevent.cpp I almost forgot about this \n ->
inside the RichText remove oconfig cause it was bogus. We can achieve the same with Config(path, Config::File ); --- (limited to 'libopie/todoevent.cpp') diff --git a/libopie/todoevent.cpp b/libopie/todoevent.cpp index 5537b77..b820150 100644 --- a/libopie/todoevent.cpp +++ b/libopie/todoevent.cpp @@ -131,7 +131,7 @@ QString ToDoEvent::richText() const // Description of the todo if ( !description().isEmpty() ){ text += "" + QObject::tr( "Description:" ) + "
"; - text += Qtopia::escapeString(description() ) + "
"; + text += Qtopia::escapeString(description() ).replace(QRegExp( "[\n]"), "
" ) + "
"; } text += "" + QObject::tr( "Priority:") +" " + QString::number( priority() ) + "
"; -- cgit v0.9.0.2