X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fgui%2Fqt4%2Fmenus.hpp;h=f50f18ecbf71cc17ada7144ac8d069973c59a55d;hb=3f8d18568967d19864b35dfe69207d9c4054b0a9;hp=7e27e62afad0f6003e0d917c45661b55cec1eb2a;hpb=7f994b8bf2877fba00ef1c24a5c7e7ad998a75a5;p=vlc diff --git a/modules/gui/qt4/menus.hpp b/modules/gui/qt4/menus.hpp index 7e27e62afa..f50f18ecbf 100644 --- a/modules/gui/qt4/menus.hpp +++ b/modules/gui/qt4/menus.hpp @@ -58,13 +58,14 @@ class QVLCMenu : public QObject { Q_OBJECT; public: - static void createMenuBar( QMenuBar *, intf_thread_t *, bool ); + static void createMenuBar( MainInterface *mi, intf_thread_t *, bool, bool ); /* Menus */ static QMenu *FileMenu(); static QMenu *SDMenu( intf_thread_t * ); - static QMenu *PlaylistMenu( intf_thread_t *); - static QMenu *ToolsMenu( intf_thread_t *, bool with_intf = true ); + static QMenu *PlaylistMenu( MainInterface *, intf_thread_t *); + static QMenu *ToolsMenu( intf_thread_t *, MainInterface *, bool, + bool with = true ); static QMenu *NavigMenu( intf_thread_t * , QMenu * ); static QMenu *VideoMenu( intf_thread_t * , QMenu * ); static QMenu *AudioMenu( intf_thread_t * , QMenu * );