currentView->selectionModel()->select( index, QItemSelectionModel::Select );
}
- if( !popup( globalPoint ) ) VLCMenuBar::PopupMenu( p_intf, true );
+ if( !popup( globalPoint ) ) THEDP->setPopupMenu();
}
/*********** Popup *********/
/* locally handled only */
temp = model->getURI( index );
if ( ! temp.isEmpty() )
- THEDP->streamingDialog( NULL, temp, false );
+ {
+ QStringList tempList;
+ tempList.append(temp);
+ THEDP->streamingDialog( NULL, tempList, false );
+ }
break;
case VLCModelSubInterface::ACTION_SAVE:
/* locally handled only */
temp = model->getURI( index );
if ( ! temp.isEmpty() )
- THEDP->streamingDialog( NULL, temp );
+ {
+ QStringList tempList;
+ tempList.append(temp);
+ THEDP->streamingDialog( NULL, tempList );
+ }
break;
case VLCModelSubInterface::ACTION_CREATENODE:
break;
case VLCModelSubInterface::ACTION_ENQUEUEDIR:
- temp = THEDP->getDirectoryDialog();
+ temp = DialogsProvider::getDirectoryDialog( p_intf );
if ( temp.isEmpty() ) return;
a.uris << temp;
action->setData( QVariant::fromValue( a ) );