/* Playlist */
if( b_visible ) togglePlaylist();
+ /* Enable the popup menu in the MI */
+ setContextMenuPolicy( Qt::CustomContextMenu );
+ CONNECT( this, customContextMenuRequested( const QPoint& ),
+ this, popupMenu() );
+
/* Final sizing and showing */
setMinimumWidth( __MAX( controls->sizeHint().width(),
menuBar()->sizeHint().width() ) );
QApplication::postEvent( fullscreenControls, eShow );
}
+void MainInterface::popupMenu()
+{
+ QVLCMenu::PopupMenu( p_intf, true );
+}
+
void MainInterface::debug()
{
#ifndef NDEBUG