--- a/messagingapp/msgui/unifiededitor/src/msgunieditorattachment.cpp Wed Aug 18 00:46:12 2010 +0530
+++ b/messagingapp/msgui/unifiededitor/src/msgunieditorattachment.cpp Tue Aug 31 18:53:38 2010 +0530
@@ -46,7 +46,6 @@
//Localized Constants for item specific menu
#define LOC_OPEN hbTrId("txt_common_menu_open")
#define LOC_REMOVE hbTrId("txt_common_menu_remove")
-#define LOC_DETAILS hbTrId("txt_common_menu_details")
const QString LIST_ITEM_BG_FRAME_NORMAL ("qtg_fr_list_normal");
const QString LIST_ITEM_BG_FRAME_PRESSED("qtg_fr_list_pressed");
@@ -141,9 +140,10 @@
void MsgUnifiedEditorAttachment::handleLongTap(QPointF position)
{
HbMenu* menu = new HbMenu;
+
menu->addAction(LOC_OPEN, this, SLOT(handleOpen()));
menu->addAction(LOC_REMOVE, this, SLOT(handleRemove()));
- menu->addAction(LOC_DETAILS, this, SLOT(viewDetails()));
+
menu->setDismissPolicy(HbPopup::TapAnywhere);
menu->setAttribute(Qt::WA_DeleteOnClose, true);
menu->setPreferredPos(position);
@@ -171,11 +171,6 @@
QTimer::singleShot(300,this,SLOT(regrabGesture()));
}
-void MsgUnifiedEditorAttachment::viewDetails()
-{
- //open details view.
-}
-
bool MsgUnifiedEditorAttachment::isMultimediaContent()
{
bool ret = true;