Commit 3b95348d authored by Erwan Tulou's avatar Erwan Tulou

qt4: popupmenu (part2)

parent 0ccd492a
...@@ -356,7 +356,7 @@ void BackgroundWidget::paintEvent( QPaintEvent *e ) ...@@ -356,7 +356,7 @@ void BackgroundWidget::paintEvent( QPaintEvent *e )
void BackgroundWidget::contextMenuEvent( QContextMenuEvent *event ) void BackgroundWidget::contextMenuEvent( QContextMenuEvent *event )
{ {
QVLCMenu::PopupMenu( p_intf, true, this ); QVLCMenu::PopupMenu( p_intf, true );
event->accept(); event->accept();
} }
......
...@@ -174,7 +174,7 @@ void StandardPLPanel::popupPlView( const QPoint &point ) ...@@ -174,7 +174,7 @@ void StandardPLPanel::popupPlView( const QPoint &point )
QModelIndexList list = selection->selectedIndexes(); QModelIndexList list = selection->selectedIndexes();
if( !model->popup( index, globalPoint, list ) ) if( !model->popup( index, globalPoint, list ) )
QVLCMenu::PopupMenu( p_intf, true, this ); QVLCMenu::PopupMenu( p_intf, true );
} }
void StandardPLPanel::popupSelectColumn( QPoint pos ) void StandardPLPanel::popupSelectColumn( QPoint pos )
......
...@@ -534,12 +534,12 @@ inline void MainInterface::restoreStackOldWidget() ...@@ -534,12 +534,12 @@ inline void MainInterface::restoreStackOldWidget()
void MainInterface::destroyPopupMenu() void MainInterface::destroyPopupMenu()
{ {
QVLCMenu::PopupMenu( p_intf, false, this ); QVLCMenu::PopupMenu( p_intf, false );
} }
void MainInterface::popupMenu( const QPoint &p ) void MainInterface::popupMenu( const QPoint &p )
{ {
QVLCMenu::PopupMenu( p_intf, true, this ); QVLCMenu::PopupMenu( p_intf, true );
} }
void MainInterface::toggleFSC() void MainInterface::toggleFSC()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment