[vlc-commits] qt: disable "Customize Interface..." menu entry

Fatih Uzunoglu git at videolan.org
Tue Apr 6 09:54:41 UTC 2021


vlc | branch: master | Fatih Uzunoglu <fuzun54 at outlook.com> | Fri Apr  2 01:22:13 2021 +0300| [a783a0e13dbf625e28f16257617b8bf72549aae7] | committer: Pierre Lamot

qt: disable "Customize Interface..." menu entry

it's going to be re enabled after the qml
toolbar editor dialog transition is done

Signed-off-by: Pierre Lamot <pierre at videolabs.io>

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

 modules/gui/qt/menus/menus.cpp | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/modules/gui/qt/menus/menus.cpp b/modules/gui/qt/menus/menus.cpp
index af0b0c9eb2..de70281265 100644
--- a/modules/gui/qt/menus/menus.cpp
+++ b/modules/gui/qt/menus/menus.cpp
@@ -293,9 +293,12 @@ QMenu *VLCMenuBar::ToolsMenu( intf_thread_t *p_intf, QMenu *menu )
         "", &DialogsProvider::pluginDialog );
     menu->addSeparator();
 
+    // this entry is going to be reenabled after the new editor dialog is done
+#if 0
     if( !p_intf->p_sys->b_isDialogProvider )
         addDPStaticEntry( menu, qtr( "Customi&ze Interface..." ),
-            ":/menu/preferences.svg", &DialogsProvider::toolbarDialog);
+           ":/menu/preferences.svg", &DialogsProvider::toolbarDialog);
+#endif
 
     addDPStaticEntry( menu, qtr( "&Preferences" ),
         ":/menu/preferences.svg", &DialogsProvider::prefsDialog, "Ctrl+P", QAction::PreferencesRole );



More information about the vlc-commits mailing list