From 62b8f468f2da78df212be55f5319d41dd2f88ae7 Mon Sep 17 00:00:00 2001 From: Volker Krause Date: Tue, 10 Jul 2007 09:42:32 +0000 Subject: [PATCH] Fix handling of outlook attachments (kolab issue 1312). svn path=/branches/kdepim/enterprise/kdepim/; revision=685990 --- kmailicalifaceimpl.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kmailicalifaceimpl.cpp b/kmailicalifaceimpl.cpp index 02664af7d..95bfbb562 100644 --- a/kmailicalifaceimpl.cpp +++ b/kmailicalifaceimpl.cpp @@ -192,6 +192,8 @@ static DwBodyPart* findBodyPart( const KMMessage& msg, const QString& attachment if ( part->hasHeaders() && attachmentName == part->Headers().ContentDisposition().Filename().c_str() ) return part; + if ( part->hasHeaders() && attachmentName == part->Headers().ContentType().Name().c_str() ) + return part; } return 0; }