engine/src/PodcastModel.cpp
branchsymbian1
changeset 136 cee38af14bcf
parent 90 d0c0c3e6f7a1
child 148 e3f9b65d6910
--- a/engine/src/PodcastModel.cpp	Wed May 26 11:30:03 2010 +0100
+++ b/engine/src/PodcastModel.cpp	Wed May 26 17:46:55 2010 +0100
@@ -228,6 +228,7 @@
 
 EXPORT_C void CPodcastModel::PlayPausePodcastL(CShowInfo* aPodcast, TBool aPlayOnInit) 
 	{
+	DP("CPodcastModel::PlayPausePodcastL BEGIN");
 	TRAPD(err, LaunchFileEmbeddedL(aPodcast->FileName()));
 	
 	if (err == KErrNone)
@@ -235,7 +236,11 @@
 		aPodcast->SetPlayState(EPlayed);
 		iShowEngine->UpdateShowL(*aPodcast);
 		}
-	
+	else
+		{
+		User::Leave(err);
+		}
+	DP("CPodcastModel::PlayPausePodcastL END");
 	}
 
 EXPORT_C CFeedInfo* CPodcastModel::ActiveFeedInfo()