[Korganizer-devel] [Bug 132947] find journals doesn't display journal title

Lars Pohlmann teufelauch at web.de
Mon Jan 29 09:18:29 CET 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=132947         




------- Additional Comments From teufelauch web de  2007-01-29 09:18 -------
Here is a patch against korganizers kolistview. 

--- kolistview.cpp~     2006-10-01 19:30:39.000000000 +0200
+++ kolistview.cpp      2007-01-29 08:19:05.000000000 +0100
 @ -183,8 +183,8  @
 {
   static const QPixmap jrnalPxmp = KOGlobals::self()->smallIcon( "journal" );
   mItem->setPixmap(0,jrnalPxmp);
-  // Just use the first line
-  mItem->setText( 0, t->description().section( "\n", 0, 0 ) );
+  // Journal entries have a summary!
+  mItem->setText( 0, t->summary() );
   mItem->setText( 3, t->dtStartDateStr() );

   mItem->setSortKey( 3, t->dtStart().toString(Qt::ISODate) );


More information about the Korganizer-devel mailing list