equal
deleted
inserted
replaced
396 |
396 |
397 // Create the dialog. |
397 // Create the dialog. |
398 mTimePickerDialog = new HbDialog; |
398 mTimePickerDialog = new HbDialog; |
399 mTimePickerDialog->setTimeout(HbDialog::NoTimeout); |
399 mTimePickerDialog->setTimeout(HbDialog::NoTimeout); |
400 mTimePickerDialog->setDismissPolicy(HbDialog::NoDismiss); |
400 mTimePickerDialog->setDismissPolicy(HbDialog::NoDismiss); |
401 |
401 mTimePickerDialog->setAttribute(Qt::WA_DeleteOnClose, true); |
402 // Set the heading for the dialog. |
402 // Set the heading for the dialog. |
403 HbLabel * timeLabel = |
403 HbLabel * timeLabel = |
404 new HbLabel(hbTrId("txt_tumbler_title_alarm_time"), |
404 new HbLabel(hbTrId("txt_tumbler_title_alarm_time"), |
405 mTimePickerDialog); |
405 mTimePickerDialog); |
406 mTimePickerDialog->setHeadingWidget(timeLabel); |
406 mTimePickerDialog->setHeadingWidget(timeLabel); |