[vlc-devel] [vlc-commits] qt4: the verbosity can't be higher than 2

Ludovic Fauvet etix at videolan.org
Sun Jun 10 05:42:53 CEST 2012


On Sat, Jun 9, 2012 at 11:07 PM, Ludovic Fauvet <git at videolan.org> wrote:
> vlc | branch: master | Ludovic Fauvet <etix at videolan.org> | Fri Jun  8 22:33:02 2012 +0200| [51220a6a95cc2e19e4d87c9abb5ad672580f5e96] | committer: Jean-Baptiste Kempf
>
> qt4: the verbosity can't be higher than 2
>
> Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
>
>> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=51220a6a95cc2e19e4d87c9abb5ad672580f5e96
> ---
>
>  modules/gui/qt4/dialogs/messages.cpp |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/modules/gui/qt4/dialogs/messages.cpp b/modules/gui/qt4/dialogs/messages.cpp
> index c494ab2..4d23113 100644
> --- a/modules/gui/qt4/dialogs/messages.cpp
> +++ b/modules/gui/qt4/dialogs/messages.cpp
> @@ -87,7 +87,7 @@ MessagesDialog::MessagesDialog( intf_thread_t *_p_intf)
>
>     int i_verbosity = var_InheritInteger( p_intf, "verbose" );
>     changeVerbosity( i_verbosity );
> -    ui.verbosityBox->setValue( i_verbosity );
> +    ui.verbosityBox->setValue( qMin( i_verbosity, 2 ) );
>
>     char *objs = var_InheritString( p_intf, "verbose-objects" );
>     if( objs != NULL )
>
> _______________________________________________
> vlc-commits mailing list
> vlc-commits at videolan.org
> http://mailman.videolan.org/listinfo/vlc-commits

This fix needs to be backported.
A cherry-pick won't work, though. See patch attached.

Best regards,
-- Ludovic Fauvet
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-qt4-the-verbosity-can-t-be-higher-than-2.patch
Type: application/octet-stream
Size: 909 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20120610/ea7c2ad7/attachment.obj>


More information about the vlc-devel mailing list