Commit 9b071a16 authored by Christophe Mutricy's avatar Christophe Mutricy

qt4: fix the popup menu updating

parent 5b8066fb
...@@ -428,10 +428,10 @@ QMenu *QVLCMenu::HelpMenu() ...@@ -428,10 +428,10 @@ QMenu *QVLCMenu::HelpMenu()
if( p_input ) \ if( p_input ) \
{ \ { \
var_Get( p_input, "state", &val ); \ var_Get( p_input, "state", &val ); \
if( val.i_int == PAUSE_S ) \ if( val.i_int == PLAYING_S ) \
MIM_SADD( menu, qtr("Play"), "", "", togglePlayPause() ) \
else \
MIM_SADD( menu, qtr("Pause"), "", "", togglePlayPause() ) \ MIM_SADD( menu, qtr("Pause"), "", "", togglePlayPause() ) \
else \
MIM_SADD( menu, qtr("Play"), "", "", togglePlayPause() ) \
} \ } \
else if( THEPL->items.i_size && THEPL->i_enabled ) \ else if( THEPL->items.i_size && THEPL->i_enabled ) \
MIM_SADD( menu, qtr("Play"), "", "", togglePlayPause() ); \ MIM_SADD( menu, qtr("Play"), "", "", togglePlayPause() ); \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment