diff -r 99bcbff212ad -r c2d07d913565 emailuis/nmailui/src/nmattachmentmanager.cpp --- a/emailuis/nmailui/src/nmattachmentmanager.cpp Fri May 28 13:56:43 2010 +0300 +++ b/emailuis/nmailui/src/nmattachmentmanager.cpp Thu Jun 10 16:14:05 2010 +0300 @@ -155,6 +155,9 @@ this, SLOT(completeMessageFetch(int))); } + else { + completeMessageFetch(NmGeneralError); + } } else { @@ -257,18 +260,6 @@ mFetchMsg->envelope().folderId(), mFetchMsg->envelope().messageId(), partIds); - - if (mFetchOperation) { - mAttaId = 0; - mIsFetching = true; - QObject::connect(mFetchOperation, SIGNAL(operationCompleted(int)), - this, SLOT(completeAttachmentFetch(int))); - - QObject::connect(mFetchOperation, SIGNAL(operationProgressChanged(int)), - this, SLOT(changeProgress(int))); - - result = true; - } } else { mFetchObserver->fetchCompleted(NmNoError);