X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fgui%2Fqt4%2Fmenus.cpp;h=62f41e73942ae53f465d8daff36eef64d0a1bb39;hb=449fd28aaf007c6411251dae9d0dbfdc65b135d1;hp=b569186d3e1719eb11298700586997c67814cb0b;hpb=05eac2dbdf9f3a3231dc2eefda62202837fdeec6;p=vlc diff --git a/modules/gui/qt4/menus.cpp b/modules/gui/qt4/menus.cpp index b569186d3e..62f41e7394 100644 --- a/modules/gui/qt4/menus.cpp +++ b/modules/gui/qt4/menus.cpp @@ -742,7 +742,7 @@ QMenu * QVLCMenu::Populate( intf_thread_t *p_intf, currentGroup = NULL; vlc_object_t *p_object; - vlc_bool_t b_section_empty = VLC_FALSE; + bool b_section_empty = false; int i; #define APPEND_EMPTY { QAction *action = menu->addAction( qtr( "Empty" ) ); \ @@ -755,7 +755,7 @@ QMenu * QVLCMenu::Populate( intf_thread_t *p_intf, if( b_section_empty ) APPEND_EMPTY; menu->addSeparator(); - b_section_empty = VLC_TRUE; + b_section_empty = true; continue; } @@ -763,14 +763,14 @@ QMenu * QVLCMenu::Populate( intf_thread_t *p_intf, { /// \bug What is this ? // Append( menu, varnames[i], NULL ); - b_section_empty = VLC_FALSE; + b_section_empty = false; continue; } p_object = ( vlc_object_t * )vlc_object_get( objects[i] ); if( p_object == NULL ) continue; - b_section_empty = VLC_FALSE; + b_section_empty = false; /* Ugly specific stuff */ if( strstr( varnames[i], "intf-add" ) ) CreateItem( menu, varnames[i], p_object, false );