diff -r f54bfd820e04 -r b5e99d8877c7 sipplugins/sippsipsettingsui/src/gssipmodel.cpp --- 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;