[vlc-commits] Qt: fix menu double action

Jean-Baptiste Kempf git at videolan.org
Sun Dec 3 23:14:14 CET 2017


vlc/vlc-3.0 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Dec  3 22:11:20 2017 +0100| [ea6964dde717c2b17ba7236936a9e944fd0a80a9] | committer: Jean-Baptiste Kempf

Qt: fix menu double action

Close #19200

(cherry picked from commit 365e4967451fac3246f1eb4ab73c5257cda8abab)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

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

diff --git a/modules/gui/qt/menus.cpp b/modules/gui/qt/menus.cpp
index f73be7df07..ede795a55c 100644
--- a/modules/gui/qt/menus.cpp
+++ b/modules/gui/qt/menus.cpp
@@ -539,11 +539,6 @@ QMenu *VLCMenuBar::ViewMenu( intf_thread_t *p_intf, QMenu *current, MainInterfac
     if( visual_selector_enabled ) adv->setChecked( true );
 #endif
 
-    action = menu->addAction( qtr( "Always on &top" ) );
-    action->setCheckable( true );
-    action->setChecked( mi->isInterfaceAlwaysOnTop() );
-    CONNECT( action, triggered( bool ), mi, setInterfaceAlwaysOnTop( bool ) );
-
     menu->addSeparator();
 
     InterfacesMenu( p_intf, menu );



More information about the vlc-commits mailing list