diff -r fdb31ab341af -r a0afa279b8fe mpviewplugins/mpcollectionviewplugin/src/mpcollectionlistcontainer.cpp --- a/mpviewplugins/mpcollectionviewplugin/src/mpcollectionlistcontainer.cpp Fri May 14 18:54:37 2010 -0500 +++ b/mpviewplugins/mpcollectionviewplugin/src/mpcollectionlistcontainer.cpp Fri May 28 19:46:01 2010 -0500 @@ -50,7 +50,8 @@ mList(0), mNoMusic(0), mIndexFeedback(0), - mLongPressedIndex(0) + mLongPressedIndex(0), + mLongPressEnabled(true) { TX_ENTRY mIndexFeedback = new HbIndexFeedback(); @@ -109,8 +110,10 @@ void MpCollectionListContainer::onLongPressed( HbAbstractViewItem *listViewItem, const QPointF &coords ) { TX_ENTRY - mLongPressedIndex = listViewItem->modelIndex().row(); - emit MpCollectionContainer::itemLongPressed(mLongPressedIndex, coords); + if ( mLongPressEnabled ) { + mLongPressedIndex = listViewItem->modelIndex().row(); + emit MpCollectionContainer::itemLongPressed(mLongPressedIndex, coords); + } TX_EXIT }