--- a/sipplugins/sippsipsettingsui/src/gssipmodel.cpp Fri Feb 19 23:10:33 2010 +0200
+++ b/sipplugins/sippsipsettingsui/src/gssipmodel.cpp Fri Mar 12 15:44:11 2010 +0200
@@ -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;