]> git.sesse.net Git - vlc/commitdiff
qt4: popupmenu (part2)
authorErwan Tulou <erwan10@videolan.org>
Wed, 7 Apr 2010 15:57:40 +0000 (17:57 +0200)
committerErwan Tulou <erwan10@videolan.org>
Wed, 7 Apr 2010 16:00:15 +0000 (18:00 +0200)
modules/gui/qt4/components/interface_widgets.cpp
modules/gui/qt4/components/playlist/standardpanel.cpp
modules/gui/qt4/main_interface.cpp

index 29ce6bddec1d67477aea9f33a97250e28104d98f..ce17b9d7f1abe0f4f6531eb09f0b78059eaa7326 100644 (file)
@@ -356,7 +356,7 @@ void BackgroundWidget::paintEvent( QPaintEvent *e )
 
 void BackgroundWidget::contextMenuEvent( QContextMenuEvent *event )
 {
-    QVLCMenu::PopupMenu( p_intf, true, this );
+    QVLCMenu::PopupMenu( p_intf, true );
     event->accept();
 }
 
index 64b5920a34fb210106a01302860f9ac3be6dcf73..6dcf065576c105c913d93277ee2f655153db3ba0 100644 (file)
@@ -174,7 +174,7 @@ void StandardPLPanel::popupPlView( const QPoint &point )
     QModelIndexList list = selection->selectedIndexes();
 
     if( !model->popup( index, globalPoint, list ) )
-        QVLCMenu::PopupMenu( p_intf, true, this );
+        QVLCMenu::PopupMenu( p_intf, true );
 }
 
 void StandardPLPanel::popupSelectColumn( QPoint pos )
index 53941da1e7a88574bdc93c3b78c94b5539898d39..0194e0d537a9bf28b63e4e8a3c99c123ac6fa437 100644 (file)
@@ -534,12 +534,12 @@ inline void MainInterface::restoreStackOldWidget()
 
 void MainInterface::destroyPopupMenu()
 {
-    QVLCMenu::PopupMenu( p_intf, false, this );
+    QVLCMenu::PopupMenu( p_intf, false );
 }
 
 void MainInterface::popupMenu( const QPoint &p )
 {
-    QVLCMenu::PopupMenu( p_intf, true, this );
+    QVLCMenu::PopupMenu( p_intf, true );
 }
 
 void MainInterface::toggleFSC()