equal
deleted
inserted
replaced
272 { |
272 { |
273 DP1("CShowEngine::Complete\tDownload of file: %S is complete", &iShowDownloading->FileName()); |
273 DP1("CShowEngine::Complete\tDownload of file: %S is complete", &iShowDownloading->FileName()); |
274 // decide what kind of file this is |
274 // decide what kind of file this is |
275 if(aError != KErrCouldNotConnect) |
275 if(aError != KErrCouldNotConnect) |
276 { |
276 { |
277 if(aError == KErrDisconnected && !iPodcastModel.SettingsEngine().DownloadSuspended()) { |
277 if(aError == KErrDisconnected && iPodcastModel.SettingsEngine().DownloadSuspended()) |
|
278 { |
278 // no error if disconnect happened because of suspended downloading |
279 // no error if disconnect happened because of suspended downloading |
|
280 } |
|
281 else |
|
282 { |
279 iShowDownloading->SetLastError(aError); |
283 iShowDownloading->SetLastError(aError); |
280 } |
284 } |
281 |
285 |
282 if (aError == KErrNone) |
286 if (aError == KErrNone) |
283 { |
287 { |
284 TBuf<KMimeBufLength> mimeType; |
288 TBuf<KMimeBufLength> mimeType; |
285 GetMimeType(iShowDownloading->FileName(), mimeType); |
289 GetMimeType(iShowDownloading->FileName(), mimeType); |