[vlc-devel] [PATCH] Fixes crash after customizing the interface via popup menu.
Jean-Baptiste Kempf
jb at videolan.org
Sun Apr 29 23:35:19 CEST 2012
On Sun, Apr 29, 2012 at 10:54:41PM +0200, VlcVelope wrote :
> diff --git a/modules/gui/qt4/main_interface.cpp b/modules/gui/qt4/main_interface.cpp
> index 9c277fb..c99fa12 100755
> --- a/modules/gui/qt4/main_interface.cpp
> +++ b/modules/gui/qt4/main_interface.cpp
> @@ -352,6 +352,7 @@ void MainInterface::recreateToolbars()
> this, handleKeyPress( QKeyEvent * ) );
> THEMIM->requestVoutUpdate();
> }
> + setMinimalView( b_minimalView );
> }
How is that related to the next part?
> - delete menu; menu = NULL; \
> + if( menu ) \
> + emit menu->deleteLater(); \
> + menu = NULL; \
Why?
Best regards,
--
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device
More information about the vlc-devel
mailing list