phonebookui/cntcommonui/contacteditors/cntdetailpopup.cpp
changeset 81 640d30f4fb64
parent 72 6abfb1094884
--- a/phonebookui/cntcommonui/contacteditors/cntdetailpopup.cpp	Fri Oct 08 11:42:51 2010 +0300
+++ b/phonebookui/cntcommonui/contacteditors/cntdetailpopup.cpp	Fri Oct 15 12:24:46 2010 +0300
@@ -30,17 +30,14 @@
     addListItem("qtg_small_mobile", hbTrId("txt_phob_list_number"), phoneNumberEditorView );
     addListItem("qtg_small_email", hbTrId("txt_phob_list_email"), emailEditorView );
     addListItem("qtg_small_url_address", hbTrId("txt_phob_list_url"), urlEditorView);
-    addListItem("qtg_small_location", hbTrId("txt_phob_list_address"), addressEditorView );
+    addListItem("qtg_small_location", hbTrId("txt_phob_list_address2"), addressEditorView );
     addListItem("qtg_small_note", hbTrId("txt_phob_list_note"), noteEditorView);
     addListItem("qtg_small_sound", hbTrId("txt_phob_list_personal_ringing_tone"), ringToneFetcherView );
     addListItem("qtg_small_calendar", hbTrId("txt_phob_list_date"), dateEditorView);
     addListItem("qtg_small_company_details", hbTrId("txt_phob_list_company_details"), companyEditorView);
     addListItem("qtg_small_family", hbTrId("txt_phob_list_family"), familyDetailEditorView);
-    
-    HbLabel *label = new HbLabel(this);    
-    label->setPlainText(hbTrId("txt_phob_title_add_field"));
 
-    setHeadingWidget(label);
+    setHeadingText(hbTrId("txt_phob_title_add_field"));
     setTimeout(HbDialog::NoTimeout);
     setDismissPolicy(HbDialog::NoDismiss);
     setAttribute(Qt::WA_DeleteOnClose, true);