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

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


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

diff --git a/modules/gui/qt/menus/menus.cpp b/modules/gui/qt/menus/menus.cpp
index de70281265..f16f45e1dc 100644
--- a/modules/gui/qt/menus/menus.cpp
+++ b/modules/gui/qt/menus/menus.cpp
@@ -293,12 +293,9 @@ 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);
-#endif
+            ":/menu/preferences.svg", &DialogsProvider::showToolbarEditorDialog);
 
     addDPStaticEntry( menu, qtr( "&Preferences" ),
         ":/menu/preferences.svg", &DialogsProvider::prefsDialog, "Ctrl+P", QAction::PreferencesRole );
-- 
2.27.0



More information about the vlc-devel mailing list