--- a/deviceupdatesui/deviceupdates/src/serversettingsview.cpp Fri Apr 16 14:53:31 2010 +0300
+++ b/deviceupdatesui/deviceupdates/src/serversettingsview.cpp Mon May 03 12:24:32 2010 +0300
@@ -42,8 +42,10 @@
{
//custom prototype
form = new HbDataForm();
+ QList <HbAbstractViewItem*> protos = form->itemPrototypes();
customPrototype = new SettingsDataFormCustomItem(form);
- form->setItemPrototype(customPrototype);
+ protos.append(customPrototype);
+ form->setItemPrototypes(protos);
dataformmodel = new HbDataFormModel();
makeviewItemsVisible(header);
form->setModel(dataformmodel);