--- a/emailuis/emailui/src/FreestyleEmailUiAttachmentsListModel.cpp Mon Jan 18 20:08:26 2010 +0200
+++ b/emailuis/emailui/src/FreestyleEmailUiAttachmentsListModel.cpp Tue Jan 26 11:45:42 2010 +0200
@@ -495,7 +495,13 @@
KFsTreeNoneID,
partData
};
- attachment.downloadProgress = KComplete;
+
+ // if not fully fetched than restart download;
+ if (IsCompletelyDownloadedL(attachment))
+ attachment.downloadProgress = KComplete;
+ else
+ attachment.downloadProgress = KNone;
+
iAttachments.Append( attachment );
}
CleanupStack::PopAndDestroy( &mailParts );