[vlc-commits] Qt: enable the recents menu again after adding an element

Ludovic Fauvet git at videolan.org
Thu Dec 15 01:44:38 CET 2011


vlc | branch: master | Ludovic Fauvet <etix at videolan.org> | Thu Dec 15 01:21:12 2011 +0100| [60cff20c351db4bde6eb6ed5696fce92d54bc3bb] | committer: Jean-Baptiste Kempf

Qt: enable the recents menu again after adding an element

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

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

 modules/gui/qt4/menus.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/gui/qt4/menus.cpp b/modules/gui/qt4/menus.cpp
index 4c81eed..55ae7b7 100644
--- a/modules/gui/qt4/menus.cpp
+++ b/modules/gui/qt4/menus.cpp
@@ -1549,6 +1549,7 @@ void VLCMenuBar::updateRecents( intf_thread_t *p_intf )
 
             recentsMenu->addSeparator();
             recentsMenu->addAction( qtr("&Clear"), rmrl, SLOT( clear() ) );
+            recentsMenu->setEnabled( true );
         }
     }
 }



More information about the vlc-commits mailing list