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

List:       kde-commits
Subject:    kdepim/kmail
From:       Carsten Burghardt <burghardt () kde ! org>
Date:       2005-04-17 19:36:18
Message-ID: 20050417193618.671C8488 () office ! kde ! org
[Download RAW message or body]

CVS commit by burghard: 

Do not set the message as complete but do not pass it to the parent command.
That way the message is not changed and it should not cause problems anymore.
Will backport.
BUGS:98845


  M +1 -4      kmcommands.cpp   1.206


--- kdepim/kmail/kmcommands.cpp  #1.205:1.206
@@ -2112,9 +2112,6 @@ KMSaveAttachmentsCommand::KMSaveAttachme
 KMSaveAttachmentsCommand::KMSaveAttachmentsCommand( QWidget *parent, QPtrList<partNode>& attachments,
                                                     KMMessage *msg, bool encoded )
-  : KMCommand( parent, msg ), mImplicitAttachments( false ),
-    mEncoded( encoded )
+  : KMCommand( parent ), mImplicitAttachments( false ), mEncoded( encoded )
 {
-  // do not load the complete message but only parts
-  msg->setComplete( true );
   for ( QPtrListIterator<partNode> it( attachments ); it.current(); ++it ) {
     mAttachmentMap.insert( it.current(), msg );


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

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