Fix for Hide command in Queue view RCL_3
authorSebastian Brannstrom <sebastianb@symbian.org>
Sun, 31 Oct 2010 14:14:17 +0000
branchRCL_3
changeset 320 e3ec8e436951
parent 319 0ad6784f49b8
child 321 7a0fb290f9c6
Fix for Hide command in Queue view
application/src/PodcastFeedView.cpp
application/src/PodcastListView.cpp
application/src/PodcastQueueView.cpp
--- a/application/src/PodcastFeedView.cpp	Sun Oct 31 14:03:27 2010 +0000
+++ b/application/src/PodcastFeedView.cpp	Sun Oct 31 14:14:17 2010 +0000
@@ -522,9 +522,6 @@
 
 	switch(aCommand)
 		{
-        case EPodcastHide:
-			AppUi()->HandleCommandL(EEikCmdExit);
-			break;
 		case EPodcastAddFeed:
 			HandleAddFeedL();
 			break;
--- a/application/src/PodcastListView.cpp	Sun Oct 31 14:03:27 2010 +0000
+++ b/application/src/PodcastListView.cpp	Sun Oct 31 14:14:17 2010 +0000
@@ -350,6 +350,9 @@
 	DP1("CPodcastListView::HandleCommandL=%d", aCommand);
 	switch(aCommand)
 	{
+	case EPodcastHide:
+		AppUi()->HandleCommandL(EEikCmdExit);
+		break;
 	case EAknSoftkeyBack:
 		{
 		AppUi()->ActivateViewL(iPreviousView);
--- a/application/src/PodcastQueueView.cpp	Sun Oct 31 14:03:27 2010 +0000
+++ b/application/src/PodcastQueueView.cpp	Sun Oct 31 14:14:17 2010 +0000
@@ -344,11 +344,8 @@
 				
 		if (index >= 0 && index < iPodcastModel.ActiveShowList().Count())
 			{			
-			CShowInfo* info = iPodcastModel.ActiveShowList()[index];
-			
 			aMenuPane->SetItemDimmed(EPodcastMoveDownloadDown, dimDown);
-			aMenuPane->SetItemDimmed(EPodcastMoveDownloadUp, dimUp);
-			
+			aMenuPane->SetItemDimmed(EPodcastMoveDownloadUp, dimUp);			
 			}
 		}
 	}