[vlc-devel] [C] Lua dialogs: remove b_hide parameter ( Jean-Philippe André )

Jean-Philippe André jpeg at videolan.org
Wed Feb 3 21:49:32 CET 2010


Hello,

Wednesday 03 February 2010, 21:12:03,
Toralf Niebuhr wrote:
> Why was this parameter removed?
> 
> How can I check if the dialog needs to be hidden.

The dialog can't be hidden, see 271bf4eb205.
The reason for this is that when Qt closes a dialog, it destroys it.
The reason why I chose to destroy dialogs when they are closed is that this is 
the only sane way I found to clear the resources correctly (especially when 
VLC is quitting).

If you need to hide a dialog, store all your parameters and recreate it.
 
> Am 03.02.2010 um 18:05 schrieb git version control:
> > vlc | branch: master | Jean-Philippe André <jpeg at videolan.org> | Wed Feb 
> > 3 17:58:29 2010 +0100| [6787595024f61d65d68a1fe467e6520c75756b20] |
> > committer: Jean-Philippe André
> >
> > Lua dialogs: remove b_hide parameter
> >
> > Widgets can still be hidden though
> >
> >> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6787595024f61d65d
> >>68a1fe467e6520c75756b20

Sorry about this, but the API is not totally fixed yet.

Best regards,

-- 
Jean-Philippe André (jpeg)



More information about the vlc-devel mailing list