controlpanelui/src/cpplugins/profileactivatorplugin/src/cpprofileactivatordialog.cpp
--- a/controlpanelui/src/cpplugins/profileactivatorplugin/src/cpprofileactivatordialog.cpp Thu Aug 05 11:28:29 2010 +0800
+++ b/controlpanelui/src/cpplugins/profileactivatorplugin/src/cpprofileactivatordialog.cpp Tue Aug 24 10:56:32 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<CpSettingFormEntryItemData*>(mProfileActivator)) {
- entryItem->setDescription(profileName);
- }
}
void CpProfileActivatorDialog::cancelProfileSelection()
{