[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/workspace/plasma/generic/applets/notifications/ui
From:       Alex Fiestas <alex () eyeos ! org>
Date:       2010-12-14 19:37:43
Message-ID: 20101214193743.81297AC8A7 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1206523 by afiestas:

Add sentence after the loop, needed for plain text notifications (just like word)


 M  +1 -2      notificationwidget.cpp  


--- trunk/KDE/kdebase/workspace/plasma/generic/applets/notifications/ui/notificationwidget.cpp \
#1206522:1206523 @@ -324,8 +324,6 @@
     }
 
 
-    //Don't show more than 8 lines
-    //in the end it could be more than 8 lines depending on how much \n characters \
will be there  QString processed = message.trimmed();
 
     /*if there is a < that is not closed as a tag, replace it with an entity*/
@@ -366,6 +364,7 @@
 
         ++i;
     }
+    parsed.append(fm.elidedText(sentence, Qt::ElideMiddle, 300));
     parsed.append(fm.elidedText(word, Qt::ElideMiddle, 250));
 
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic