[vlc-commits] qt: remove obsolete menu entries

Pierre Lamot git at videolan.org
Mon Sep 28 09:37:54 CEST 2020


vlc | branch: master | Pierre Lamot <pierre at videolabs.io> | Tue Sep 15 17:07:28 2020 +0200| [28489f56699fc82dc8e32defb2ad49b5c0cced1e] | committer: Pierre Lamot

qt: remove obsolete menu entries

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

 modules/gui/qt/menus/menus.cpp | 25 -------------------------
 1 file changed, 25 deletions(-)

diff --git a/modules/gui/qt/menus/menus.cpp b/modules/gui/qt/menus/menus.cpp
index ebee61e41c..ebc00fe92a 100644
--- a/modules/gui/qt/menus/menus.cpp
+++ b/modules/gui/qt/menus/menus.cpp
@@ -346,15 +346,6 @@ QMenu *VLCMenuBar::ViewMenu( intf_thread_t *p_intf, QMenu *current, MainInterfac
 
     menu->addSeparator();
 
-    /* Minimal View */
-    action = menu->addAction( qtr( "Mi&nimal Interface" ) );
-    action->setShortcut( qtr( "Ctrl+H" ) );
-    action->setCheckable( true );
-
-
-    CONNECT( action, triggered( bool ), mi, toggleMinimalView( bool ) );
-    CONNECT( mi, minimalViewToggled( bool ), action, setChecked( bool ) );
-
     /* FullScreen View */
     action = menu->addAction( qtr( "&Fullscreen Interface" ), mi,
             SLOT( toggleInterfaceFullScreen() ), QString( "F11" ) );
@@ -363,22 +354,6 @@ QMenu *VLCMenuBar::ViewMenu( intf_thread_t *p_intf, QMenu *current, MainInterfac
     CONNECT( mi, fullscreenInterfaceToggled( bool ),
              action, setChecked( bool ) );
 
-    /* Advanced Controls */
-    action = menu->addAction( qtr( "&Advanced Controls" ), mi,
-            SLOT( toggleAdvancedButtons() ) );
-    action->setCheckable( true );
-
-    action = menu->addAction( qtr( "Status Bar" ) );
-    action->setCheckable( true );
-    action->setChecked( mi->statusBar()->isVisible() );
-    CONNECT( action, triggered( bool ), mi, setStatusBarVisibility( bool) );
-#if 0 /* For Visualisations. Not yet working */
-    adv = menu->addAction( qtr( "Visualizations selector" ), mi,
-                           SLOT( visual() ) );
-    adv->setCheckable( true );
-    if( visual_selector_enabled ) adv->setChecked( true );
-#endif
-
     menu->addSeparator();
 
     InterfacesMenu( p_intf, menu );



More information about the vlc-commits mailing list