Sophie

Sophie

distrib > Mandriva > 2010.0 > x86_64 > media > main-testing-src > by-pkgid > fc0461a26d7609d682086116df6e70e8 > files > 7

kdepim4-4.3.5-0.1mdv2010.0.src.rpm

Index: kontact/plugins/knotes/knotes_part_p.h
===================================================================
--- kontact/plugins/knotes/knotes_part_p.h
+++ kontact/plugins/knotes/knotes_part_p.h	2009-12-15 09:16:01.000000000 +0100
@@ -92,7 +92,17 @@
     }
   void setIconText( const QString &text )
     {
-      setText( text );
+      QString replaceText ;
+      if (text.count() > 5 )
+      {
+        replaceText = text.left(5) + "..." ;
+      }
+      else
+      {
+        replaceText = text ;
+      }
+
+      setText( replaceText );
       mJournal->setSummary( text );
     }