iaupdate/IAD/ui/src/iaupdatemainview.cpp
branchRCL_3
changeset 22 0817e13c927e
parent 0 ba25891c3a9e
child 29 26b6f0522fd8
child 40 f8cf9d484c15
equal deleted inserted replaced
19:7ca52d38f8c3 22:0817e13c927e
     1 /*
     1 /*
     2 * Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
   484         GetSelectedNodesL( selectedNodes ); 
   484         GetSelectedNodesL( selectedNodes ); 
   485         
   485         
   486         //There are selected items already and type are different with the current one
   486         //There are selected items already and type are different with the current one
   487         if ( selectedNodes.Count() > 0 && (iAllNodes[aIndex]->NodeType() != selectedNodes[0]->NodeType() ) )
   487         if ( selectedNodes.Count() > 0 && (iAllNodes[aIndex]->NodeType() != selectedNodes[0]->NodeType() ) )
   488             {       
   488             {       
   489             HBufC* msgText = StringLoader::LoadLC(R_IAUPDATE_FIRMWARE_WITH_OTHERS);
   489             /*HBufC* msgText = StringLoader::LoadLC(R_IAUPDATE_FIRMWARE_WITH_OTHERS);
   490 
   490 
   491             CAknQueryDialog* dlg = CAknQueryDialog::NewL();
   491             CAknQueryDialog* dlg = CAknQueryDialog::NewL();
   492        
   492        
   493             dlg->ExecuteLD( R_IAUPDATE_INFORMATION_QUERY, *msgText );
   493             dlg->ExecuteLD( R_IAUPDATE_INFORMATION_QUERY, *msgText );
   494             
   494             
   495             CleanupStack::PopAndDestroy( msgText );
   495             CleanupStack::PopAndDestroy( msgText );*/
   496             
   496             
   497             //clean all of the current selection(s)
   497             //clean all of the current selection(s)
   498             iContainer->CleanAllSelection();
   498             iContainer->CleanAllSelection();
   499             
   499             
   500             // firmware item and normal sis items can't be selected at the same time
   500             // firmware item and normal sis items can't be selected at the same time