messagingapp/msgui/msguiutils/src/msgservicelaunchutil.cpp
changeset 76 60a8a215b0ec
parent 73 ecf6a73a9186
--- a/messagingapp/msgui/msguiutils/src/msgservicelaunchutil.cpp	Tue Oct 05 13:58:47 2010 +0530
+++ b/messagingapp/msgui/msguiutils/src/msgservicelaunchutil.cpp	Tue Oct 19 11:30:16 2010 +0530
@@ -21,6 +21,7 @@
 #include <xqappmgr.h>
 #include <hbglobal.h>
 #include <xqconversions.h>
+#include <hbdevicemessagebox.h>
 
 #include "msgservicelaunchutil.h"
 #include "msgcontactsutil.h"
@@ -29,6 +30,7 @@
 
 // LOCAL CONSTANTS
 #define LOC_TITLE   hbTrId("txt_messaging_title_messaging")
+#define LOC_FILE_NOT_OPEN	hbTrId("txt_messages_dialog_file_cannot_be_opened")
 const QString VCARD_MIMETYPE("text/X-vCard");
 
 //--------------------------------------------------------------
@@ -124,11 +126,13 @@
         request = appManager.create(sf, d);
 
         if (!request) {
+        	HbDeviceMessageBox::information(LOC_FILE_NOT_OPEN);
             sf.close();
             return;
         }
     }
     else {
+    	HbDeviceMessageBox::information(LOC_FILE_NOT_OPEN);
         sf.close();
         return;
     }