diff -r ecc8def7944a -r 2dc6caa42ec3 emailuis/nmframeworkadapter/src/nmfwamessagepartfetchingoperation.cpp --- a/emailuis/nmframeworkadapter/src/nmfwamessagepartfetchingoperation.cpp Mon May 03 12:23:15 2010 +0300 +++ b/emailuis/nmframeworkadapter/src/nmfwamessagepartfetchingoperation.cpp Fri May 14 15:41:10 2010 +0300 @@ -25,10 +25,8 @@ const NmId &folderId, const NmId &messageId, const NmId &messagePartId, - CFSMailClient &mailClient, - QObject *parent) : - NmOperation(parent), - mMailboxId(mailboxId), + CFSMailClient &mailClient) + : mMailboxId(mailboxId), mFolderId(folderId), mMessageId(messageId), mMessagePartId(messagePartId), @@ -46,6 +44,7 @@ NmFwaMessagePartFetchingOperation::~NmFwaMessagePartFetchingOperation() { doCancelOperation(); + NMLOG("NmFwaMessagePartFetchingOperation::~NmFwaMessagePartFetchingOperation --->"); } /*! @@ -58,8 +57,7 @@ completeOperation(aEvent.iError); } else if (aEvent.iProgressStatus == TFSProgress::EFSStatus_RequestCancelled) { - // emit cancelled - operationCancelled(); + completeOperation(NmCancelError); } else if (aEvent.iProgressStatus == TFSProgress::EFSStatus_Status) { int progress = 0;