Qt: no need to iterate two times. always disable empty menus
authorJean-Philippe Andre <jpeg@via.ecp.fr>
Thu, 29 Jan 2009 18:31:53 +0000 (19:31 +0100)
committerJean-Philippe Andre <jpeg@via.ecp.fr>
Thu, 29 Jan 2009 19:07:19 +0000 (20:07 +0100)
commitfe5186764619a096e07c87027d021ce7cbd65435
tree9c25d243e458a839d76f4a1832905fee0dabd26d
parent1fce4b4d597e1a93baceb4cd0853275f089b1afe
Qt: no need to iterate two times. always disable empty menus

Note: in some rare case when p_aout != NULL but the audio
      ouput is "empty" (no track), then the visualizations
      are still enabled (but of course, you can't use them).
modules/gui/qt4/menus.cpp