[vlc-devel] commit: Fix a little bug in recents media menu. (Ludovic Fauvet )
git version control
git at videolan.org
Mon Mar 30 01:06:33 CEST 2009
vlc | branch: master | Ludovic Fauvet <etix at l0cal.com> | Mon Mar 30 00:58:03 2009 +0200| [5b1433c3bda6baf58f93f67d2114f8ce84e43c6c] | committer: Jean-Baptiste Kempf
Fix a little bug in recents media menu.
When cleared the menu was not refreshed.
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5b1433c3bda6baf58f93f67d2114f8ce84e43c6c
---
modules/gui/qt4/recents.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/gui/qt4/recents.cpp b/modules/gui/qt4/recents.cpp
index 7cdf80e..82a20e1 100644
--- a/modules/gui/qt4/recents.cpp
+++ b/modules/gui/qt4/recents.cpp
@@ -89,7 +89,7 @@ void RecentsMRL::clear()
if ( stack->isEmpty() )
return;
stack->clear();
- if( !isActive ) QVLCMenu::updateRecents( p_intf );
+ if( isActive ) QVLCMenu::updateRecents( p_intf );
save();
}
More information about the vlc-devel
mailing list