Don't show error text in queue view
authorteknolog
Wed, 31 Mar 2010 15:36:43 +0100
changeset 95 c06c2a75bb57
parent 57 31e34b8e2878
child 96 a8538f50e2ba
Don't show error text in queue view
application/src/PodcastQueueView.cpp
--- a/application/src/PodcastQueueView.cpp	Sat Mar 13 22:20:33 2010 +0000
+++ b/application/src/PodcastQueueView.cpp	Wed Mar 31 15:36:43 2010 +0100
@@ -390,20 +390,11 @@
 		aShowInfo.PubDate().FormatL(showDate, KDateFormatShort());
 		}
 
-	if(aShowInfo.LastError() != KErrNone)
-		{
-		TBuf<KSizeBufLen> errorBuffer;
-		iEikonEnv->GetErrorText(errorBuffer, aShowInfo.LastError());
-		iListboxFormatbuffer.Format(KShowErrorFormat(), iconIndex, &aShowInfo.Title(), &errorBuffer);
-		}
-	else	
-		{
-		if (infoSize.Length() > 0) {
-			infoSize.Insert(0,_L(", "));
-		}
-		
-		iListboxFormatbuffer.Format(KShowQueueFormat(), iconIndex, &aShowInfo.Title(), &showDate, &infoSize);
-		}
+	if (infoSize.Length() > 0) {
+		infoSize.Insert(0,_L(", "));
+	}
+	
+	iListboxFormatbuffer.Format(KShowQueueFormat(), iconIndex, &aShowInfo.Title(), &showDate, &infoSize);
 	}
 
 void CPodcastQueueView::UpdateShowItemDataL(CShowInfo* aShowInfo,TInt aIndex, TInt aSizeDownloaded)