deviceupdatesui/deviceupdates/src/serversettingsview.cpp
changeset 21 c707676bf59f
parent 18 7d11f9a6646f
child 24 408f75ba5bc2
--- 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);