summaryrefslogtreecommitdiff
path: root/libopie/todoevent.cpp
Side-by-side diff
Diffstat (limited to 'libopie/todoevent.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/todoevent.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/libopie/todoevent.cpp b/libopie/todoevent.cpp
index 4cfe1c0..5fa4472 100644
--- a/libopie/todoevent.cpp
+++ b/libopie/todoevent.cpp
@@ -3,2 +3,4 @@
#include <qpe/palmtopuidgen.h>
+#include <qpe/stringutil.h>
+//#include <qpe/palmtoprecord.h>
@@ -13,3 +15,3 @@ ToDoEvent::ToDoEvent(bool completed, int priority, const QString &category,
m_category = category;
- m_desc = description;
+ m_desc = Qtopia::simplifyMultiLineSpace(description );
if (uid == -1 ) {
@@ -55,3 +57,3 @@ void ToDoEvent::setDescription(const QString &desc )
{
- m_desc = desc;
+ m_desc = Qtopia::simplifyMultiLineSpace(desc );
}