[vlc-commits] qt4: fix two crashes.
Rémi Duraffort
git at videolan.org
Sat May 14 12:55:02 CEST 2011
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sat May 14 12:50:56 2011 +0200| [752a2e7c5b0b51907ee06af5c8a73b67fa9a0046] | committer: Rémi Duraffort
qt4: fix two crashes.
Thanks to jb.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=752a2e7c5b0b51907ee06af5c8a73b67fa9a0046
---
modules/gui/qt4/menus.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/gui/qt4/menus.cpp b/modules/gui/qt4/menus.cpp
index e55f92e..6eea71f 100644
--- a/modules/gui/qt4/menus.cpp
+++ b/modules/gui/qt4/menus.cpp
@@ -320,7 +320,7 @@ void QVLCMenu::createMenuBar( MainInterface *mi,
addMenuToMainbar( ToolsMenu( bar ), qtr( "&Tools" ), bar );
/* View menu, a bit different */
- BAR_DADD( ViewMenu( p_intf, _menu, mi ), qtr( "V&iew" ), 4 );
+ BAR_DADD( ViewMenu( p_intf, NULL, mi ), qtr( "V&iew" ), 4 );
addMenuToMainbar( HelpMenu( bar ), qtr( "&Help" ), bar );
@@ -1034,7 +1034,7 @@ void QVLCMenu::PopupMenu( intf_thread_t *p_intf, bool show )
else
{
QMenu *bar = menu; // Needed for next macro
- BAR_DADD( ViewMenu( p_intf, _menu, mi ), qtr( "V&iew" ), 4 );
+ BAR_DADD( ViewMenu( p_intf, NULL, mi ), qtr( "V&iew" ), 4 );
}
menu->addMenu( submenu );
More information about the vlc-commits
mailing list