phonebookui/cntcommonui/contacteditors/cntnoteeditormodel.cpp
changeset 81 640d30f4fb64
parent 72 6abfb1094884
--- a/phonebookui/cntcommonui/contacteditors/cntnoteeditormodel.cpp	Fri Oct 08 11:42:51 2010 +0300
+++ b/phonebookui/cntcommonui/contacteditors/cntnoteeditormodel.cpp	Fri Oct 15 12:24:46 2010 +0300
@@ -25,6 +25,7 @@
     foreach ( QContactNote note, mContact->details<QContactNote>() )
     {
         CntDetailModelItem* item = new CntDetailModelItem(note);
+        item->setLabel(hbTrId("txt_phob_formlabel_note"));
         appendDataFormItem( item, root );
         connect( item, SIGNAL(itemDataChanged(CntDetailModelItem*)), this, SLOT(emitDataChanged(CntDetailModelItem*)) );
     }
@@ -39,6 +40,7 @@
     QContactNote emptyNote;
     mNoteList.append( emptyNote );
     CntDetailModelItem* newNote = new CntDetailModelItem(emptyNote);
+    newNote->setLabel(hbTrId("txt_phob_formlabel_note"));
     appendDataFormItem( newNote, invisibleRootItem() );
     connect( newNote, SIGNAL(itemDataChanged(CntDetailModelItem*)), this, SLOT(emitDataChanged(CntDetailModelItem*)) );
     emitDataChanged(newNote);