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

List:       kde-commits
Subject:    kdepim/kmail
From:       Ingo Klöcker <kloecker () kde ! org>
Date:       2003-06-15 19:58:03
[Download RAW message or body]

CVS commit by kloecker: 

Avoid whitespace only name.


  M +1 -1      kmcomposewin.cpp   1.704


--- kdepim/kmail/kmcomposewin.cpp  #1.703:1.704
@@ -4362,5 +4362,5 @@ void KMComposeWin::slotAttachView()
 
   msgPart = mAtmList.at(idx);
-  pname = msgPart->name();
+  pname = msgPart->name().stripWhiteSpace();
   if (pname.isEmpty()) pname=msgPart->contentDescription();
   if (pname.isEmpty()) pname="unnamed";


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

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