[vlc-commits] Qt: menu additional fixes for more video options
Adrian Yanes
git at videolan.org
Thu Feb 23 16:13:47 CET 2012
vlc | branch: master | Adrian Yanes <devel at ayanes.com> | Thu Feb 23 16:12:49 2012 +0100| [a7ead0dcf11d97dd8d68dcaba9caeaa10db92555] | committer: Jean-Baptiste Kempf
Qt: menu additional fixes for more video options
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a7ead0dcf11d97dd8d68dcaba9caeaa10db92555
---
modules/gui/qt4/menus.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/gui/qt4/menus.cpp b/modules/gui/qt4/menus.cpp
index 520aafb..46666cd 100644
--- a/modules/gui/qt4/menus.cpp
+++ b/modules/gui/qt4/menus.cpp
@@ -1396,7 +1396,7 @@ int VLCMenuBar::CreateChoicesMenu( QMenu *submenu, const char *psz_var,
#define CURVAL val_list.p_list->p_values[i]
#define CURTEXT text_list.p_list->p_values[i].psz_string
-#define RADIO_OR_COMMAND ( i_type & VLC_VAR_ISCOMMAND ) ? ITEM_RADIO : ITEM_NORMAL
+#define RADIO_OR_COMMAND ( i_type & ( VLC_VAR_ISCOMMAND | VLC_VAR_HASCHOICE ) ) ? ITEM_RADIO : ITEM_NORMAL
for( i = 0; i < val_list.p_list->i_count; i++ )
{
More information about the vlc-commits
mailing list