sipplugins/sippsipsettingsui/src/gssipmodel.cpp
branchRCL_3
changeset 19 b5e99d8877c7
parent 6 43c4dec3cb1f
child 20 0dcb073356a5
--- a/sipplugins/sippsipsettingsui/src/gssipmodel.cpp	Thu Aug 19 10:16:25 2010 +0300
+++ b/sipplugins/sippsipsettingsui/src/gssipmodel.cpp	Tue Aug 31 15:32:57 2010 +0300
@@ -1205,9 +1205,7 @@
         {
         profile->GetParameter( KSIPDefaultProfile, aDefault );
         profile->GetParameter( KSIPProfileLocked, aLocked );
-        TUint32 profileId;
-        profile->GetParameter( KSIPProfileId, profileId );        
-        aIsUse = CheckIsProfileInUseL( profileId );
+        aIsUse = iEngine->IsInUseL( *profile );
         } 
     __GSLOGSTRING("CGSSIPModel::CheckProfileForDeleteL End" )
     }
@@ -1226,10 +1224,6 @@
     if ( profile )
         {
         profile->GetParameter( KSIPProfileRegistered, inUse );
-        if ( !inUse )
-        	{
-            inUse = iEngine->IsInUseL( *profile );
-        	}
         }
     
     return inUse;