engine/src/PodcastModel.cpp
changeset 134 46baf9a7cadd
parent 133 5f9e7e14eb11
child 162 d15654dbe9b8
--- a/engine/src/PodcastModel.cpp	Wed May 26 13:13:30 2010 +0100
+++ b/engine/src/PodcastModel.cpp	Wed May 26 15:30:38 2010 +0100
@@ -234,6 +234,7 @@
 
 EXPORT_C void CPodcastModel::PlayPausePodcastL(CShowInfo* aPodcast, TBool /* aPlayOnInit */) 
 	{
+	DP("CPodcastModel::PlayPausePodcastL BEGIN");
 	TRAPD(err, LaunchFileEmbeddedL(aPodcast->FileName()));
 	
 	if (err == KErrNone)
@@ -241,7 +242,11 @@
 		aPodcast->SetPlayState(EPlayed);
 		iShowEngine->UpdateShowL(*aPodcast);
 		}
-	
+	else
+		{
+		User::Leave(err);
+		}
+	DP("CPodcastModel::PlayPausePodcastL END");
 	}
 
 EXPORT_C CFeedInfo* CPodcastModel::ActiveFeedInfo()