Am Dienstag, 7. September 2004 21:41 schrieb André Wöbbeking: > On Tuesday 07 September 2004 18:12, Karl-Heinz Zimmer wrote: > > CVS commit by khz: > > --- kdepim/kmail/kmmessage.cpp #1.481:1.482 > > @@ -4365,5 +4365,5 @@ void KMMessage::updateAttachmentState( D > > part->Headers().HasContentDisposition() && > > !part->Headers().ContentDisposition().Filename().empty() && > > - sSMIMEData != > > QCString(part->Headers().ContentDisposition().Filename().c_str()).low > >er() ) + > > QCString(part->Headers().ContentDisposition().Filename().c_str()).low > >er() != cSMIMEData ) { > > what about > > if ( !qstricmp( part->Headers().ContentDisposition().Filename().c_str(), > cSMIMEData ) ) > > to avoid the two temporary QCStrings? Great Idea, thank you. :-) Karl-Heinz -- Karl-Heinz Zimmer I n d e V i e w K D E Föhren Presentations Beyond Limitations Conquer your Desktop www.fiehr.de www.indeview.org www.kde.org