diff -r a5692c68d772 -r 593f946f4fec controlpanelui/src/cpplugins/profileactivatorplugin/src/cpprofileactivatordialog.cpp --- a/controlpanelui/src/cpplugins/profileactivatorplugin/src/cpprofileactivatordialog.cpp Fri Jun 25 17:12:20 2010 +0800 +++ b/controlpanelui/src/cpplugins/profileactivatorplugin/src/cpprofileactivatordialog.cpp Wed Sep 29 10:09:58 2010 +0800 @@ -78,13 +78,6 @@ // the best choice is no need to convert the index to id mProfileModel.activateProfile(mProfileIds.at(currentIndex)); - // ret should be remove from here - // no invalid profile exsit - QString profileName = mProfileModel.profileName(mProfileModel.activeProfileId()); - //change the descripton of entry item - if (CpSettingFormEntryItemData *entryItem = qobject_cast(mProfileActivator)) { - entryItem->setDescription(profileName); - } } void CpProfileActivatorDialog::cancelProfileSelection() {