[vlc-devel] [PATCH 01/29] qt: disable "Customize Interface..." menu entry

Fatih Uzunoglu fuzun54 at outlook.com
Thu Apr 1 22:22:13 UTC 2021


it's going to be re enabled after the qml
toolbar editor dialog transition is done
---
 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 );
-- 
2.27.0



More information about the vlc-devel mailing list