[vlc-commits] Qt4: add a record menu action
Jean-Baptiste Kempf
git at videolan.org
Sun Jan 19 18:07:38 CET 2014
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Jan 19 18:06:57 2014 +0100| [70c147f0616175866ddd9dfc0ae8c6978d8a9b0a] | committer: Jean-Baptiste Kempf
Qt4: add a record menu action
Close #8761
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=70c147f0616175866ddd9dfc0ae8c6978d8a9b0a
---
modules/gui/qt4/menus.cpp | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/modules/gui/qt4/menus.cpp b/modules/gui/qt4/menus.cpp
index 1a188de..9749224 100644
--- a/modules/gui/qt4/menus.cpp
+++ b/modules/gui/qt4/menus.cpp
@@ -842,6 +842,10 @@ void VLCMenuBar::PopupMenuPlaylistEntries( QMenu *menu,
action->setData( ACTION_NO_CLEANUP + ACTION_DELETE_ON_REBUILD );
CONNECT( THEMIM, playlistNotEmpty(bool), action, setEnabled(bool) );
+ action = menu->addAction( qtr( "Record" ), THEAM, SLOT( record() ) );
+ action->setIcon( QIcon( ":/toolbar/record" ) );
+ if( !p_input )
+ action->setEnabled( false );
menu->addSeparator();
}
More information about the vlc-commits
mailing list