diff -r c707676bf59f -r 408f75ba5bc2 deviceupdatesui/deviceupdates/src/serversettingsview.cpp --- a/deviceupdatesui/deviceupdates/src/serversettingsview.cpp Mon May 03 12:24:32 2010 +0300 +++ b/deviceupdatesui/deviceupdates/src/serversettingsview.cpp Fri May 14 15:42:35 2010 +0300 @@ -17,6 +17,7 @@ #include #include +#include #include "serversettingsview.h" #include "dmadvancedview.h" #include "settingsdataformcustomitem.h" @@ -160,12 +161,12 @@ } else { - HbMessageBox note(HbMessageBox::MessageTypeInformation); - note.setText(hbTrId( + HbMessageBox *note = new HbMessageBox(HbMessageBox::MessageTypeInformation); + note->setText(hbTrId( "txt_device_update_dialog_enter_mandatory_field_values")); - note.setPrimaryAction(new HbAction("OK")); - note.setTimeout(HbPopup::NoTimeout); - note.exec(); + note->setAttribute( Qt::WA_DeleteOnClose); + note->setTimeout(HbPopup::NoTimeout); + note->open(); } } @@ -175,10 +176,11 @@ if(serversView->checkServerId(srvid)) { serverid->setContentWidgetData(QString("text"), QString("")); - HbMessageBox note(HbMessageBox::MessageTypeInformation); - note.setText(hbTrId("txt_device_update_dialog_invalid_server_id")); - note.setTimeout(HbPopup::NoTimeout); - note.exec(); + HbMessageBox *note= new HbMessageBox(HbMessageBox::MessageTypeInformation); + note->setText(hbTrId("txt_device_update_dialog_invalid_server_id")); + note->setAttribute( Qt::WA_DeleteOnClose); + note->setTimeout(HbPopup::NoTimeout); + note->open(); } }