--- a/messagingapp/msgnotifications/msgerrornotifier/src/msgerrornotifiersvc.cpp Thu Sep 02 20:23:03 2010 +0300
+++ b/messagingapp/msgnotifications/msgerrornotifier/src/msgerrornotifiersvc.cpp Fri Sep 17 08:28:39 2010 +0300
@@ -26,7 +26,6 @@
#include <xqappmgr.h>
#include <ccsdefs.h>
#include <qaction.h>
-#include <xqsystemtoneservice.h>
#define LOC_VIEW hbTrId("txt_messaging_button_view")
#define LOC_CANCEL hbTrId("txt_common_button_cancel")
@@ -38,7 +37,6 @@
MsgErrorNotifierSvc::MsgErrorNotifierSvc(QObject* parent) :
XQServiceProvider(QLatin1String("messaging.com.nokia.symbian.MsgErrorNotifier"), parent)
{
- mSts = new XQSystemToneService();
publishAll();
}
@@ -47,11 +45,6 @@
//---------------------------------------------------------
MsgErrorNotifierSvc::~MsgErrorNotifierSvc()
{
- if(mSts)
- {
- delete mSts;
- mSts = NULL;
- }
}
//---------------------------------------------------------
@@ -93,10 +86,7 @@
messageBox.setAction(actionQuit,HbDeviceMessageBox::RejectButtonRole);
setCurrentRequestAsync();
-
- //Play audio alert when error notification is shown
- mSts->playTone(XQSystemToneService::MessageSendFailureTone);
-
+
// launch Messagebox
const QAction* result = messageBox.exec();