engine/src/ShowEngine.cpp
changeset 15 93d9f66bf50b
parent 6 e211a78d3037
child 21 420a1b4930da
--- a/engine/src/ShowEngine.cpp	Thu Feb 25 20:20:46 2010 +0000
+++ b/engine/src/ShowEngine.cpp	Thu Feb 25 21:08:38 2010 +0000
@@ -271,7 +271,6 @@
 	if (iShowDownloading != NULL)
 		{
 		DP1("CShowEngine::Complete\tDownload of file: %S is complete", &iShowDownloading->FileName());		
-		// decide what kind of file this is		
 		if(aError != KErrCouldNotConnect)
 			{
 			if(aError == KErrDisconnected && iPodcastModel.SettingsEngine().DownloadSuspended())
@@ -303,7 +302,7 @@
 				DBRemoveDownload(iShowDownloading->Uid());
 				AddShowToMpxCollection(*iShowDownloading);				
 				NotifyShowFinishedL(aError);
-
+				iDownloadErrors = 0;
 				delete iShowDownloading;
 				iShowDownloading = NULL;
 				}