diff -r 36f374c67aa8 -r 12db4185673b messagingapp/msgui/unifiededitor/src/msgunieditorsubject.cpp --- a/messagingapp/msgui/unifiededitor/src/msgunieditorsubject.cpp Tue Jul 06 14:12:40 2010 +0300 +++ b/messagingapp/msgui/unifiededitor/src/msgunieditorsubject.cpp Wed Aug 18 09:45:25 2010 +0300 @@ -19,6 +19,7 @@ #include "debugtraces.h" #include #include +#include // USER INCLUDES #include "msgunieditorsubject.h" @@ -50,7 +51,7 @@ mSubjectEdit->setMinRows(1); mSubjectEdit->setMaxRows(10); - mGenUtils = new UniEditorGenUtils(); + mGenUtils = q_check_ptr(new UniEditorGenUtils()); connect(mSubjectEdit, SIGNAL(contentsChanged(const QString&)), this, SLOT(onContentsChanged(const QString&))); @@ -125,7 +126,7 @@ mSubjectEdit->setText(mPrevBuffer); connect(mSubjectEdit, SIGNAL(contentsChanged(const QString&)), this, SLOT(onContentsChanged(const QString&))); - HbNotificationDialog::launchDialog(LOC_UNABLE_TO_ADD_CONTENT); + HbMessageBox::information(LOC_UNABLE_TO_ADD_CONTENT, 0, 0, HbMessageBox::Ok); return; }