--- a/sipplugins/sippsipsettingsui/src/gssipmodel.cpp Tue Feb 02 01:03:15 2010 +0200
+++ b/sipplugins/sippsipsettingsui/src/gssipmodel.cpp Fri Feb 19 23:10:33 2010 +0200
@@ -195,6 +195,10 @@
TBool CGSSIPModel::SaveProfileL()
{
__GSLOGSTRING("CGSSIPModel::SaveProfileL" )
+ if( iNewProfile )
+ {
+ return EFalse;
+ }
TBool modifications = ETrue;
TInt err( KErrNone );
@@ -1199,9 +1203,9 @@
if ( profile )
{
- profile->GetParameter( KSIPProfileRegistered, aIsUse );
profile->GetParameter( KSIPDefaultProfile, aDefault );
profile->GetParameter( KSIPProfileLocked, aLocked );
+ aIsUse = iEngine->IsInUseL( *profile );
}
__GSLOGSTRING("CGSSIPModel::CheckProfileForDeleteL End" )
}