diff -r b5e99d8877c7 -r 0dcb073356a5 sipplugins/sippsipsettingsui/src/gssipmodel.cpp --- a/sipplugins/sippsipsettingsui/src/gssipmodel.cpp Tue Aug 31 15:32:57 2010 +0300 +++ b/sipplugins/sippsipsettingsui/src/gssipmodel.cpp Wed Sep 01 12:27:36 2010 +0100 @@ -1205,7 +1205,9 @@ { profile->GetParameter( KSIPDefaultProfile, aDefault ); profile->GetParameter( KSIPProfileLocked, aLocked ); - aIsUse = iEngine->IsInUseL( *profile ); + TUint32 profileId; + profile->GetParameter( KSIPProfileId, profileId ); + aIsUse = CheckIsProfileInUseL( profileId ); } __GSLOGSTRING("CGSSIPModel::CheckProfileForDeleteL End" ) } @@ -1224,6 +1226,10 @@ if ( profile ) { profile->GetParameter( KSIPProfileRegistered, inUse ); + if ( !inUse ) + { + inUse = iEngine->IsInUseL( *profile ); + } } return inUse;