emailuis/nmailui/src/nmattachmentmanager.cpp
changeset 44 c2d07d913565
parent 43 99bcbff212ad
child 47 f83bd4ae1fe3
--- 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);