[vlc-commits] commit: qt4: popupmenu (part2) (Erwan Tulou )

git at videolan.org git at videolan.org
Wed Apr 7 18:01:01 CEST 2010


vlc | branch: master | Erwan Tulou <erwan10 at videolan.org> | Wed Apr  7 17:57:40 2010 +0200| [3b95348d8e04c6db4e291bc783b6aa6e92990e0f] | committer: Erwan Tulou 

qt4: popupmenu (part2)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3b95348d8e04c6db4e291bc783b6aa6e92990e0f
---

 modules/gui/qt4/components/interface_widgets.cpp   |    2 +-
 .../gui/qt4/components/playlist/standardpanel.cpp  |    2 +-
 modules/gui/qt4/main_interface.cpp                 |    4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/modules/gui/qt4/components/interface_widgets.cpp b/modules/gui/qt4/components/interface_widgets.cpp
index 29ce6bd..ce17b9d 100644
--- a/modules/gui/qt4/components/interface_widgets.cpp
+++ b/modules/gui/qt4/components/interface_widgets.cpp
@@ -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();
 }
 
diff --git a/modules/gui/qt4/components/playlist/standardpanel.cpp b/modules/gui/qt4/components/playlist/standardpanel.cpp
index 64b5920..6dcf065 100644
--- a/modules/gui/qt4/components/playlist/standardpanel.cpp
+++ b/modules/gui/qt4/components/playlist/standardpanel.cpp
@@ -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 )
diff --git a/modules/gui/qt4/main_interface.cpp b/modules/gui/qt4/main_interface.cpp
index 53941da..0194e0d 100644
--- a/modules/gui/qt4/main_interface.cpp
+++ b/modules/gui/qt4/main_interface.cpp
@@ -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()



More information about the vlc-commits mailing list