[vlc-commits] qt: advanced prefs: Remove empty zoom section

Romain Vimont git at videolan.org
Wed Apr 11 16:39:34 CEST 2018


vlc/vlc-3.0 | branch: master | Romain Vimont <rom1v at videolabs.io> | Mon Apr  9 17:44:54 2018 +0200| [866d16e69dfdf3a44a705bf93be4731e1f76c73b] | committer: Hugo Beauzée-Luyssen

qt: advanced prefs: Remove empty zoom section

Remove the "zoom" section to avoid the creation of an empty panel.

Note that this also removes the section title "Zoom" from --longhelp
(but it seems consistent with the other hotkeys).

Fixes #19522

Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>
(cherry picked from commit 53adeab9fc63514f886d002fbbaa7a3d8ab74073)
Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>

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

 src/libvlc-module.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/libvlc-module.c b/src/libvlc-module.c
index 77ab8283ab..0c06bc8a98 100644
--- a/src/libvlc-module.c
+++ b/src/libvlc-module.c
@@ -2656,7 +2656,6 @@ vlc_module_begin ()
     add_key( "key-viewpoint-roll-anticlock", NULL,
              VIEWPOINT_ROLL_ANTICLOCK_KEY_TEXT, VIEWPOINT_ROLL_ANTICLOCK_KEY_TEXT, true )
 
-    set_section ( N_("Zoom" ), NULL )
     add_key( "key-zoom-quarter",  KEY_ZOOM_QUARTER,
         ZOOM_QUARTER_KEY_TEXT,  NULL, false )
     add_key( "key-zoom-half",     KEY_ZOOM_HALF,



More information about the vlc-commits mailing list