diff -r 79c6a41cd166 -r 844b978f8d5e idlefw/plugins/mcsplugin/settings/src/mcspluginsettingsmodel.cpp --- a/idlefw/plugins/mcsplugin/settings/src/mcspluginsettingsmodel.cpp Thu Dec 17 08:54:17 2009 +0200 +++ b/idlefw/plugins/mcsplugin/settings/src/mcspluginsettingsmodel.cpp Thu Jan 07 12:55:39 2010 +0200 @@ -51,7 +51,7 @@ _LIT8( KProperValueSuite, "suite" ); _LIT8( KProperValueBookmark, "bookmark" ); _LIT8( KProperValueAppl, "application" ); -_LIT( KSuiteName, "suite_name" ); + using namespace HSPluginSettingsIf; @@ -345,7 +345,6 @@ { TPtrC param = aMenuItem.GetAttributeL( KMenuAttrParam, exists ); TBool isFolder = EFalse; - TBool isSuite = EFalse; TPtrC type = aMenuItem.Type(); // is the item folder or suite? @@ -355,12 +354,7 @@ isFolder = ETrue; } - if ( type == KMenuTypeSuite ) - { - isSuite = ETrue; - } - - if ( exists || isFolder || isSuite ) + if ( exists || isFolder ) { // the folder id is stored // in param attribute in HSPS @@ -371,18 +365,6 @@ param.Set( number ); } - // the suite_name is stored - // in param attribute in HSPS - if ( isSuite ) - { - TBool suiteNameExists = EFalse; - TPtrC suiteName = aMenuItem.GetAttributeL( KSuiteName, suiteNameExists ); - if ( suiteNameExists ) - { - param.Set( suiteName ); - } - } - HBufC8* param8( NULL ); param8 = AiUtility::CopyToBufferL( param8, param ); CleanupStack::PushL( param8 );