[vlc-commits] Qt: menu additional fixes for more video options

Adrian Yanes git at videolan.org
Thu Feb 23 18:10:58 CET 2012


vlc/vlc-2.0 | branch: master | Adrian Yanes <devel at ayanes.com> | Thu Feb 23 16:12:49 2012 +0100| [ed18e965edb247b9704b44a06f2f9211c8a0d950] | committer: Jean-Baptiste Kempf

Qt: menu additional fixes for more video options

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
(cherry picked from commit a7ead0dcf11d97dd8d68dcaba9caeaa10db92555)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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 ba35acd..0ebf6f8 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