--- a/controlpanel/src/cpframework/src/cpsettingformentryitemdata_p.cpp Fri Jun 25 17:09:30 2010 +0800
+++ b/controlpanel/src/cpframework/src/cpsettingformentryitemdata_p.cpp Tue Aug 24 10:30:25 2010 +0800
@@ -11,7 +11,7 @@
*
* Contributors:
*
-* Description:
+* Description: Private implementatin for class CpSettingFormEntryItemData.
*
*/
#include "cpsettingformentryitemdata_p.h"
@@ -131,6 +131,9 @@
default: break;
case CpSettingFormEntryItemData::ListEntryItem:
mParent->setData(HbDataFormModelItem::DescriptionRole , description);
+ // set a useless property for model item to emit a datachanged signal
+ // this is a workaround for informing the change event of description in list item
+ mParent->setContentWidgetData("Useless", true);
break;
case CpSettingFormEntryItemData::ButtonEntryItem:
mParent->setContentWidgetData(QString("additionalText"),QVariant(description));