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

Romain Vimont rom1v at videolabs.io
Mon Apr 9 17:44:54 CEST 2018


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
---
 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,
-- 
2.17.0



More information about the vlc-devel mailing list