browserutilities/downloadmgr/DownloadMgrUiLib/Src/CDownloadMgrUiDownloadsList.cpp
equal
deleted
inserted
replaced
404 { |
404 { |
405 // Do not use any member of this object |
405 // Do not use any member of this object |
406 } |
406 } |
407 else |
407 else |
408 { |
408 { |
409 iDialog = NULL; |
409 if( !iDownloadsList.GetDownloadHide() ) |
410 // Reset owner pointer to this object. |
410 { |
411 if ( iReferer ) |
411 delete iDialog; |
|
412 } |
|
413 |
|
414 iDownloadsList.SetDownloadListHide( EFalse ); |
|
415 |
|
416 iDialog = NULL; |
|
417 // Reset owner pointer to this object. |
|
418 if ( iReferer ) |
412 { |
419 { |
413 *iReferer = 0; |
420 *iReferer = 0; |
414 CLOG_WRITE(" referer set was to 0"); |
421 CLOG_WRITE(" referer set was to 0"); |
415 } |
422 } |
416 // and delete this |
423 // and delete this |
2542 |
2549 |
2543 CleanupStack::PopAndDestroy(); // params |
2550 CleanupStack::PopAndDestroy(); // params |
2544 } |
2551 } |
2545 } |
2552 } |
2546 |
2553 |
|
2554 // ----------------------------------------------------------------------------- |
|
2555 // CDownloadMgrUiDownloadsList::SetDownloadListHide |
|
2556 // ----------------------------------------------------------------------------- |
|
2557 // |
|
2558 void CDownloadMgrUiDownloadsList::SetDownloadListHide( TBool aHide ) |
|
2559 { |
|
2560 iDownloadListHide = aHide; |
|
2561 } |
2547 #ifdef __WINS__ |
2562 #ifdef __WINS__ |
2548 #include <commdb.h> |
2563 #include <commdb.h> |
2549 #include <AknLists.h> |
2564 #include <AknLists.h> |
2550 // ---------------------------------------------------------------------------- |
2565 // ---------------------------------------------------------------------------- |
2551 // AskIapId(TUint32& aId) |
2566 // AskIapId(TUint32& aId) |