equal
deleted
inserted
replaced
86 HbMessageBox *agreementDialog = new HbMessageBox(HbMessageBox::MessageTypeQuestion); |
86 HbMessageBox *agreementDialog = new HbMessageBox(HbMessageBox::MessageTypeQuestion); |
87 HbLabel *label = new HbLabel(agreementDialog); |
87 HbLabel *label = new HbLabel(agreementDialog); |
88 label->setHtml(hbTrId("txt_software_title_disclaimer")); |
88 label->setHtml(hbTrId("txt_software_title_disclaimer")); |
89 agreementDialog->setHeadingWidget(label); |
89 agreementDialog->setHeadingWidget(label); |
90 agreementDialog->setIconVisible(false); |
90 agreementDialog->setIconVisible(false); |
91 agreementDialog->setText(hbTrId("txt_software_info_this_application_allows_you_to_d").arg(2007).arg(2010)); |
|
92 // TODO: when textmap contains %1, change to: |
|
93 /* |
|
94 agreementDialog-> |
91 agreementDialog-> |
95 setText(hbTrId("txt_software_info_this_application_allows_you_to_d"). |
92 setText(hbTrId("txt_software_info_this_application_allows_you_to_d"). |
96 arg(HbStringUtil::convertDigits("2007")).arg(HbStringUtil::convertDigits("2007"))); |
93 arg(HbStringUtil::convertDigits("2007")).arg(HbStringUtil::convertDigits("2007"))); |
97 */ |
94 |
98 int actionCount = agreementDialog->actions().count(); |
95 int actionCount = agreementDialog->actions().count(); |
99 for (int i=actionCount-1; i >= 0; i--) |
96 for (int i=actionCount-1; i >= 0; i--) |
100 { |
97 { |
101 agreementDialog->removeAction(agreementDialog->actions().at(i)); |
98 agreementDialog->removeAction(agreementDialog->actions().at(i)); |
102 } |
99 } |