# HG changeset patch # User Sebastian Brannstrom # Date 1290430547 0 # Node ID f372a154ba57501092e5f70273948ab15b3d986d # Parent 004e149c6f0b5ae4c1fefb336569d9a1caf10e71 Fix for auto delete diff -r 004e149c6f0b -r f372a154ba57 application/src/PodcastFeedView.cpp --- a/application/src/PodcastFeedView.cpp Mon Nov 22 12:55:34 2010 +0000 +++ b/application/src/PodcastFeedView.cpp Mon Nov 22 12:55:47 2010 +0000 @@ -341,7 +341,7 @@ void CPodcastFeedView::FormatFeedInfoListBoxItemL(CFeedInfo& aFeedInfo, TBool aIsUpdating) { - DP("CPodcastFeedView::FormatFeedInfoListBoxItemL BEGIN"); +// DP("CPodcastFeedView::FormatFeedInfoListBoxItemL BEGIN"); TBuf updatedDate; TBuf unplayedShows; TUint unplayedCount = 0; @@ -393,7 +393,7 @@ } iconIndex = iFeedIdForIconArray.Find(aFeedInfo.Uid()); - DP1(" iconIndex = %d", iconIndex); +// DP1(" iconIndex = %d", iconIndex); if(iconIndex == KErrNotFound && aFeedInfo.FeedIcon() != NULL && aFeedInfo.ImageFileName().Length() > 0 && aFeedInfo.FeedIcon()->SizeInPixels().iHeight > 0 && aFeedInfo.FeedIcon()->SizeInPixels().iWidth > 0) @@ -422,7 +422,7 @@ iListboxFormatbuffer.Format(KFeedFormatPortrait(), iconIndex, &(aFeedInfo.Title()), &updatedDate, &unplayedShows); iListboxFormatbufferShort.Format(KFeedFormatLandscape(), iconIndex, &(aFeedInfo.Title())); - DP("CPodcastFeedView::FormatFeedInfoListBoxItemL END"); +// DP("CPodcastFeedView::FormatFeedInfoListBoxItemL END"); } void CPodcastFeedView::ImageOperationCompleteL(TInt aError, TUint aHandle, CPodcastModel& /*aPodcastModel*/) diff -r 004e149c6f0b -r f372a154ba57 engine/src/ShowEngine.cpp --- a/engine/src/ShowEngine.cpp Mon Nov 22 12:55:34 2010 +0000 +++ b/engine/src/ShowEngine.cpp Mon Nov 22 12:55:47 2010 +0000 @@ -1697,7 +1697,7 @@ deleteDate.HomeTime(); deleteDate += daysAhead; aShow->SetDeleteDate(deleteDate); - DP2("Setting show %S to be deleted on the %d th", &aShow->Title(), deleteDate.DayNoInMonth()); + DP2("Setting show %S to be deleted on the %d th", &aShow->Title(), deleteDate.DayNoInMonth()+1); } UpdateShowL(*aShow);