diff -r 4b75876aa85a -r b131f7696342 application/src/PodcastSettingsView.cpp --- a/application/src/PodcastSettingsView.cpp Sun Nov 14 13:05:37 2010 +0000 +++ b/application/src/PodcastSettingsView.cpp Tue Nov 16 10:26:34 2010 +0000 @@ -257,6 +257,9 @@ DP1("Download automatically: %d", iAutoDownload); se.SetDownloadAutomatically(iAutoDownload); + + DP1("Delete automatically: %d", iAutoDownload); + se.SetDeleteAutomatically((TAutoDeleteSetting)iAutoDelete); se.SaveSettingsL(); DP("StoreSettings END"); } @@ -376,6 +379,7 @@ } iAutoDownload = se.DownloadAutomatically(); + iAutoDelete = se.DeleteAutomatically(); switch(aSettingId) { @@ -402,6 +406,11 @@ iSettingAutoDownload = new (ELeave) CAknBinaryPopupSettingItem (aSettingId, iAutoDownload); return iSettingAutoDownload; break; + case EPodcastSettingAutoDelete: + DP("EPodcastSettingAutoDelete"); + iSettingAutoDelete = new (ELeave) CAknEnumeratedTextPopupSettingItem (aSettingId, iAutoDelete); + return iSettingAutoDelete; + break; default: return CAknSettingItemList::CreateSettingItemL(aSettingId); break; @@ -418,6 +427,9 @@ TInt iAutoDownload; CAknSettingItem *iSettingAutoDownload; + TInt iAutoDelete; + CAknSettingItem *iSettingAutoDelete; + TInt iConnection; TInt iIap;