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

Fatih Uzunoglu git at videolan.org
Tue Apr 6 09:55:02 UTC 2021


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

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

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

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

 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 );



More information about the vlc-commits mailing list