# HG changeset patch # User teknolog # Date 1272316305 -3600 # Node ID dd31cab34e2757054a79899a40ddc7d66e07eadd # Parent 1cc7501102a89b3780785be6c673427ee96cc476 Fix for bug 2092 diff -r 1cc7501102a8 -r dd31cab34e27 engine/src/ShowEngine.cpp --- a/engine/src/ShowEngine.cpp Sat Apr 24 22:26:43 2010 +0100 +++ b/engine/src/ShowEngine.cpp Mon Apr 26 22:11:45 2010 +0100 @@ -127,6 +127,10 @@ { DP("CShowEngine::RemoveDownload\t This is the active download, we suspend downloading"); SuspendDownloads(); + + // partial downloads should be removed + BaflUtils::DeleteFile(iPodcastModel.FsSession(), iShowDownloading->FileName()); + resumeAfterRemove = ETrue; } @@ -140,12 +144,6 @@ DBRemoveDownloadL(aUid); - // partial downloads should be removed - if (iShowDownloading) - { - BaflUtils::DeleteFile(iPodcastModel.FsSession(), iShowDownloading->FileName()); - } - if (resumeAfterRemove) { ResumeDownloadsL();