browserutilities/downloadmgr/DownloadMgrUiLib/Src/CDownloadMgrUiDownloadsList.cpp
branchRCL_3
changeset 91 30342f40acbf
parent 67 4917f9bf7995
child 92 e1bea15f9a39
--- a/browserutilities/downloadmgr/DownloadMgrUiLib/Src/CDownloadMgrUiDownloadsList.cpp	Mon Jun 21 16:54:17 2010 +0300
+++ b/browserutilities/downloadmgr/DownloadMgrUiLib/Src/CDownloadMgrUiDownloadsList.cpp	Thu Jul 15 19:53:20 2010 +0300
@@ -2236,12 +2236,9 @@
         {
         __ASSERT_DEBUG( 0<iListModel->Count(), Panic( EUiLibPanOptionsShownWhileNoDownloads ) );
 
-        TBool isCreated     = state == EHttpDlCreated;
         // The fix of PHAN-6KVK5R makes this line no longer necessary 
         // TBool isInProgress  = state == EHttpDlInprogress;
-        TBool isPaused      = state == EHttpDlPaused;
         TBool isCompleted   = state == EHttpDlMultipleMOCompleted;
-        TBool isFailed      = state == EHttpDlMultipleMOFailed;
         TBool isDrmDownload = EFalse;
         TBool isDrmRightsOnPhone = EFalse;
         TBool isPreviewRights = EFalse;
@@ -2281,7 +2278,10 @@
         canProgHandled = docHandler->CanHandleProgressivelyL( dataType, pdPlayerUid );
         CleanupStack::PopAndDestroy( docHandler ); // docHandler              
 
-#ifndef BRDO_SINGLE_CLICK_ENABLED_FF        
+#ifndef BRDO_SINGLE_CLICK_ENABLED_FF 
+        TBool isCreated     = state == EHttpDlCreated;
+        TBool isPaused      = state == EHttpDlPaused;
+        TBool isFailed      = state == EHttpDlMultipleMOFailed;
         //delete open file manager when download is not complete
         if( !(isCompleted))
             {