--- a/emailuis/nmailui/src/nmattachmentmanager.cpp Fri Jun 11 13:27:14 2010 +0300
+++ b/emailuis/nmailui/src/nmattachmentmanager.cpp Wed Jun 23 18:00:21 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);