--- a/sipplugins/sippsipsettingsui/src/sipsettingsmodel.cpp Tue Aug 31 15:32:57 2010 +0300
+++ b/sipplugins/sippsipsettingsui/src/sipsettingsmodel.cpp Wed Sep 01 12:27:36 2010 +0100
@@ -112,6 +112,8 @@
{
__GSLOGSTRING1("CSIPSettingsModel::SetDefaultProfileL index: %d", aIndex)
TRAPD(err, iHandler->SetDefaultProfileL( aIndex ));
+ if( err != KErrNone )
+ {
if ( err == KErrInUse )
{
HBufC* txtErr = StringLoader::LoadLC( R_QTN_SIP_ERROR_PROFILE_USED );
@@ -123,6 +125,7 @@
{
User::Leave( err );
}
+ }
}
// -----------------------------------------------------------------------------