[vlc-commits] qt: action manager: Don't disable renderer from UI
Hugo Beauzée-Luyssen
git at videolan.org
Tue Jan 16 17:19:13 CET 2018
vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Tue Jan 9 16:12:32 2018 +0100| [3e76b9d1e714d84063603dd2eaa7447d52ae4c70] | committer: Hugo Beauzée-Luyssen
qt: action manager: Don't disable renderer from UI
This works around #19009
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3e76b9d1e714d84063603dd2eaa7447d52ae4c70
---
modules/gui/qt/actions_manager.cpp | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/modules/gui/qt/actions_manager.cpp b/modules/gui/qt/actions_manager.cpp
index d6cbf11792..98f42023ee 100644
--- a/modules/gui/qt/actions_manager.cpp
+++ b/modules/gui/qt/actions_manager.cpp
@@ -255,7 +255,7 @@ void ActionsManager::renderer_event_item_added( vlc_renderer_discovery_t*,
}
void ActionsManager::renderer_event_item_removed(
- vlc_renderer_discovery_t *p_rd, vlc_renderer_item_t *p_item )
+ vlc_renderer_discovery_t *, vlc_renderer_item_t *p_item )
{
foreach (QAction* action, VLCMenuBar::rendererMenu->actions())
{
@@ -263,11 +263,6 @@ void ActionsManager::renderer_event_item_removed(
continue;
if (compareRenderers( action->data(), p_item ))
{
- if( action->isChecked() )
- {
- intf_thread_t* p_intf = reinterpret_cast<intf_thread_t*>( p_rd->owner.sys );
- playlist_SetRenderer( THEPL, NULL );
- }
VLCMenuBar::rendererMenu->removeAction( action );
VLCMenuBar::rendererGroup->removeAction( action );
vlc_renderer_item_release( p_item );
More information about the vlc-commits
mailing list