summaryrefslogtreecommitdiff
path: root/core/pim/osearch/eventitem.cpp
Unidiff
Diffstat (limited to 'core/pim/osearch/eventitem.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/osearch/eventitem.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/pim/osearch/eventitem.cpp b/core/pim/osearch/eventitem.cpp
index 516a274..bf5b2b9 100644
--- a/core/pim/osearch/eventitem.cpp
+++ b/core/pim/osearch/eventitem.cpp
@@ -16,13 +16,13 @@
16#include <opie/oevent.h> 16#include <opie/oevent.h>
17 17
18EventItem::EventItem(OListViewItem* parent, OEvent *event) 18EventItem::EventItem(OListViewItem* parent, OEvent *event)
19 : ResultItem(parent) 19 : ResultItem(parent)
20{ 20{
21 _event = event; 21 _event = event;
22 setText(0, _event->description() ); 22 setText(0, _event->toShortText() );
23} 23}
24 24
25 25
26EventItem::~EventItem() 26EventItem::~EventItem()
27{ 27{
28} 28}
@@ -34,7 +34,7 @@ QString EventItem::toRichText()
34} 34}
35 35
36void EventItem::editItem() 36void EventItem::editItem()
37{ 37{
38 QCopEnvelope e("QPE/Application/datebook", "editEvent(int)"); 38 QCopEnvelope e("QPE/Application/datebook", "editEvent(int)");
39 e << _event->uid(); 39 e << _event->uid();
40} \ No newline at end of file 40}