emailuis/nmailui/src/nmattachmentmanager.cpp
changeset 53 bf7eb7911fc5
parent 30 759dc5235cdb
child 47 f83bd4ae1fe3
--- 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);