[vlc-devel] commit: Qt: Remove Streaming and Convert/ Save menus if compiled with --disable-sout (Jean-Baptiste Kempf )
git version control
git at videolan.org
Mon May 18 00:25:09 CEST 2009
vlc | branch: 1.0-bugfix | Jean-Baptiste Kempf <jb at videolan.org> | Mon May 18 00:23:44 2009 +0200| [2d804fca331b69476ab105a2127c3bedb08f6ac0] | committer: Jean-Baptiste Kempf
Qt: Remove Streaming and Convert/Save menus if compiled with --disable-sout
Close #2754
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2d804fca331b69476ab105a2127c3bedb08f6ac0
---
modules/gui/qt4/menus.cpp | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/modules/gui/qt4/menus.cpp b/modules/gui/qt4/menus.cpp
index 2b8aab8..0a12c20 100644
--- a/modules/gui/qt4/menus.cpp
+++ b/modules/gui/qt4/menus.cpp
@@ -334,12 +334,14 @@ QMenu *QVLCMenu::FileMenu( intf_thread_t *p_intf, QWidget *parent )
"Ctrl+Y" );
menu->addSeparator();
+#ifdef ENABLE_SOUT
addDPStaticEntry( menu, qtr( "Conve&rt / Save..." ), "",
SLOT( openAndTranscodingDialogs() ), "Ctrl+R" );
addDPStaticEntry( menu, qtr( "&Streaming..." ),
":/stream", SLOT( openAndStreamingDialogs() ),
"Ctrl+S" );
menu->addSeparator();
+#endif
addDPStaticEntry( menu, qtr( "&Quit" ) ,
":/quit", SLOT( quit() ), "Ctrl+Q" );
More information about the vlc-devel
mailing list