[vlc-commits] Qt4: unused parameter
Rémi Denis-Courmont
git at videolan.org
Sat May 25 09:57:43 CEST 2013
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat May 25 10:56:20 2013 +0300| [da3d76e0ee3b2f0cef5da2c903be0bc5aa1df97f] | committer: Rémi Denis-Courmont
Qt4: unused parameter
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=da3d76e0ee3b2f0cef5da2c903be0bc5aa1df97f
---
modules/gui/qt4/menus.cpp | 4 ++--
modules/gui/qt4/menus.hpp | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/gui/qt4/menus.cpp b/modules/gui/qt4/menus.cpp
index 5a97519..d93c8c0 100644
--- a/modules/gui/qt4/menus.cpp
+++ b/modules/gui/qt4/menus.cpp
@@ -650,7 +650,7 @@ QMenu *VLCMenuBar::SubtitleMenu( intf_thread_t *p_intf, QMenu *current )
* Main Video Menu
* Subtitles are part of Video.
**/
-QMenu *VLCMenuBar::VideoMenu( intf_thread_t *p_intf, QMenu *current, bool b_subtitle )
+QMenu *VLCMenuBar::VideoMenu( intf_thread_t *p_intf, QMenu *current )
{
vout_thread_t *p_vout;
input_thread_t *p_input;
@@ -1042,7 +1042,7 @@ void VLCMenuBar::PopupMenu( intf_thread_t *p_intf, bool show )
/* Video menu */
submenu = new QMenu( menu );
- action = menu->addMenu( VideoMenu( p_intf, submenu, false ) );
+ action = menu->addMenu( VideoMenu( p_intf, submenu ) );
action->setText( qtr( "&Video" ) );
if( action->menu()->isEmpty() )
action->setEnabled( false );
diff --git a/modules/gui/qt4/menus.hpp b/modules/gui/qt4/menus.hpp
index 1766d5a..6d5e006 100644
--- a/modules/gui/qt4/menus.hpp
+++ b/modules/gui/qt4/menus.hpp
@@ -118,7 +118,7 @@ private:
}
static QMenu *RebuildNavigMenu( intf_thread_t *, QMenu *, bool b_keep = false );
- static QMenu *VideoMenu( intf_thread_t *, QMenu *, bool b_subtitle = false );
+ static QMenu *VideoMenu( intf_thread_t *, QMenu * );
static QMenu *VideoMenu( intf_thread_t *p_intf, QWidget *parent ) {
return VideoMenu( p_intf, new QMenu( parent ) );
}
More information about the vlc-commits
mailing list